mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-02 03:51:18 +00:00
Expand fix for #1059 [skip ci]
This commit is contained in:
@@ -139,6 +139,17 @@ class AmountTest extends TestCase
|
|||||||
'63 5212.4440' => '635212.444',
|
'63 5212.4440' => '635212.444',
|
||||||
'163 5219.1634567898' => '1635219.1634567898',
|
'163 5219.1634567898' => '1635219.1634567898',
|
||||||
'444 163 5219.1634567898' => '4441635219.1634567898',
|
'444 163 5219.1634567898' => '4441635219.1634567898',
|
||||||
|
'-0.34918323' => '-0.34918323',
|
||||||
|
'0.208' => '0.208',
|
||||||
|
'-0.15' => '-0.15',
|
||||||
|
'-0.03881677' => '-0.03881677',
|
||||||
|
'0.33' => '0.33',
|
||||||
|
'-0.1' => '-0.1',
|
||||||
|
'0.01124' => '0.01124',
|
||||||
|
'-0.01124' => '-0.01124',
|
||||||
|
'0.115' => '0.115',
|
||||||
|
'-0.115' => '-0.115',
|
||||||
|
'1.33' => '1.33',
|
||||||
];
|
];
|
||||||
foreach ($values as $value => $expected) {
|
foreach ($values as $value => $expected) {
|
||||||
$converter = new Amount;
|
$converter = new Amount;
|
||||||
|
|||||||
Reference in New Issue
Block a user