Toggle navigation
Hot Examples
RU
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Найти
Главная
Money
Money
compareTo0
Money\Money::compareTo0 PHP Метод
Документация по классу Money
Показать файл
Открыть проект
compareTo0()
приватный
Метод
Returns an integer less than, equal to, or greater than zero if the value of this object is considered to be respectively less than, equal to, or greater than 0
private
compareTo0
( ) :
integer
Результат
integer
private function compareTo0() { return bccomp($this->amount, '', self::SCALE); }
Money
__callStatic
__construct
add
amount
assertNumeric
assertSameCurrencyAs
compareTo
compareTo0
convertTo
currency
divideBy
equals
fromAmount
hasSameCurrencyAs
isGreaterThan
isGreaterThanOrEqualTo
isLessThan
isLessThanOrEqualTo
isNegative
isPositive
isZero
multiplyBy
newInstance
round
subtract