Skip to content
This repository has been archived by the owner on Apr 12, 2023. It is now read-only.

Commit

Permalink
Proof for moneyphp#64: Money::stringToUnits(".99") returns 9900, not 99
Browse files Browse the repository at this point in the history
  • Loading branch information
mathiasverraes authored and Alexander Kuhrt committed Apr 16, 2015
1 parent 282cdd2 commit 8f2cced
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/Money/Tests/MoneyTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,9 @@ public static function provideStrings()
array("+1000.0", 100000),
array("+1000.00", 100000),
array("+0.01", 1),
array("+1", 100)
array("+1", 100),
array(".99", 99),
array("-.99", -99),
);
}

Expand Down

0 comments on commit 8f2cced

Please sign in to comment.