|
Open Journal Systems
3.3.0
|
Public Member Functions | |
| __construct ($integerPart, $fractionalPart='') | |
| __toString () | |
| base10 ($number) | |
| getFractionalPart () | |
| getIntegerPart () | |
| getIntegerRoundingMultiplier () | |
| isCloserToNext () | |
| isCurrentEven () | |
| isDecimal () | |
| isHalf () | |
| isInteger () | |
| isNegative () | |
Static Public Member Functions | |
| static | fromFloat ($number) |
| static | fromNumber ($number) |
| static | fromString ($number) |
| static | roundMoneyValue ($moneyValue, $targetDigits, $havingDigits) |
Represents a numeric value.
Definition at line 10 of file paymethod/paypal/vendor/moneyphp/money/src/Number.php.
| Money\Number::__construct | ( | $integerPart, | |
$fractionalPart = '' |
|||
| ) |
| string | $integerPart | |
| string | $fractionalPart |
Definition at line 37 of file paymethod/paypal/vendor/moneyphp/money/src/Number.php.
| Money\Number::__toString | ( | ) |
Definition at line 150 of file paymethod/paypal/vendor/moneyphp/money/src/Number.php.
| Money\Number::base10 | ( | $number | ) |
| int | $number |
Definition at line 200 of file paymethod/paypal/vendor/moneyphp/money/src/Number.php.
|
static |
| float | $number |
Definition at line 70 of file paymethod/paypal/vendor/moneyphp/money/src/Number.php.
|
static |
| float | int | string | $number |
Definition at line 84 of file paymethod/paypal/vendor/moneyphp/money/src/Number.php.
Referenced by Money\Calculator\BcMathCalculator\ceil(), Money\Calculator\GmpCalculator\ceil(), Money\Calculator\GmpCalculator\compare(), Money\Calculator\PhpCalculator\divide(), Money\Calculator\BcMathCalculator\divide(), Money\Calculator\GmpCalculator\divide(), Money\Money\divide(), Money\Calculator\BcMathCalculator\floor(), Money\Calculator\GmpCalculator\floor(), Money\Calculator\GmpCalculator\mod(), Money\Calculator\PhpCalculator\multiply(), Money\Calculator\BcMathCalculator\multiply(), Money\Calculator\GmpCalculator\multiply(), Money\Calculator\PhpCalculator\round(), Money\Calculator\BcMathCalculator\round(), and Money\Calculator\GmpCalculator\round().
|
static |
| $number |
Definition at line 52 of file paymethod/paypal/vendor/moneyphp/money/src/Number.php.
Referenced by Money\Money\__construct(), Money\Calculator\BcMathCalculator\add(), and Money\Calculator\BcMathCalculator\subtract().
| Money\Number::getFractionalPart | ( | ) |
Definition at line 178 of file paymethod/paypal/vendor/moneyphp/money/src/Number.php.
| Money\Number::getIntegerPart | ( | ) |
Definition at line 170 of file paymethod/paypal/vendor/moneyphp/money/src/Number.php.
| Money\Number::getIntegerRoundingMultiplier | ( | ) |
Definition at line 186 of file paymethod/paypal/vendor/moneyphp/money/src/Number.php.
| Money\Number::isCloserToNext | ( | ) |
Definition at line 138 of file paymethod/paypal/vendor/moneyphp/money/src/Number.php.
| Money\Number::isCurrentEven | ( | ) |
Definition at line 128 of file paymethod/paypal/vendor/moneyphp/money/src/Number.php.
| Money\Number::isDecimal | ( | ) |
Definition at line 104 of file paymethod/paypal/vendor/moneyphp/money/src/Number.php.
| Money\Number::isHalf | ( | ) |
Definition at line 120 of file paymethod/paypal/vendor/moneyphp/money/src/Number.php.
| Money\Number::isInteger | ( | ) |
Definition at line 112 of file paymethod/paypal/vendor/moneyphp/money/src/Number.php.
| Money\Number::isNegative | ( | ) |
Definition at line 162 of file paymethod/paypal/vendor/moneyphp/money/src/Number.php.
|
static |
| string | $moneyValue | |
| int | $targetDigits | |
| int | $havingDigits |
Definition at line 309 of file paymethod/paypal/vendor/moneyphp/money/src/Number.php.
Referenced by Money\Formatter\BitcoinMoneyFormatter\format(), Money\Parser\DecimalMoneyParser\parse(), Money\Parser\IntlLocalizedDecimalParser\parse(), and Money\Parser\IntlMoneyParser\parse().