forked from LiveCarta/PayPal-PHP-SDK
Updated FormatConverter to Format Price based on Currency (if provided)
- Fixes #176 Issue - Renamed formatToTwoDecimalPlaces to formatToNumber
This commit is contained in:
@@ -10,6 +10,8 @@ class NumericValidatorTest extends \PHPUnit_Framework_TestCase
|
||||
public static function positiveProvider()
|
||||
{
|
||||
return array(
|
||||
array(".5", "0.50"),
|
||||
array(".55", "0.55"),
|
||||
array("0", "0.00"),
|
||||
array(null, null),
|
||||
array("01", "1.00"),
|
||||
|
||||
Reference in New Issue
Block a user