You are here

7 calls to Calculator::compare() in Price 2.x

Calculator::ceil in src/Calculator.php
Calculates the next highest whole value of a number.
Calculator::floor in src/Calculator.php
Calculates the next lowest whole value of a number.
Calculator::round in src/Calculator.php
Rounds the given number.
Price::compareTo in src/Price.php
Compares the current price with the given price.
Price::isNegative in src/Price.php
Gets whether the current price is negative.
Price::isPositive in src/Price.php
Gets whether the current price is positive.
Price::isZero in src/Price.php
Gets whether the current price is zero.