Skip to content

Commit

Permalink
Proof for #64: Money::stringToUnits(".99") returns 9900, not 99
Browse files Browse the repository at this point in the history
  • Loading branch information
mathiasverraes committed Oct 7, 2014
1 parent bd39872 commit 8df9214
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
@@ -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),
);
}

0 comments on commit 8df9214

Please sign in to comment.