17 public function add($left_operand, $right_operand, $scale = null);
26 public function sub($left_operand, $right_operand, $scale = null);
35 public function mul($left_operand, $right_operand, $scale = null);
45 public function div($left_operand, $right_operand, $scale = null);
54 public function mod($left_operand, $right_operand);
63 public function pow($left_operand, $right_operand, $scale = null);
71 public function sqrt($operand, $scale = null);
81 public function comp($left_operand, $right_operand, $scale = null);
90 public function equals($left_operand, $right_operand, $scale = null);
97 public function applyScale($left_operand, $scale = null);
104 public function round($value, $precision = 0);
sub($left_operand, $right_operand, $scale=null)
Subtracts two numbers.
sqrt($operand, $scale=null)
Gets the square root of a number.
comp($left_operand, $right_operand, $scale=null)
Compares two numbers.
equals($left_operand, $right_operand, $scale=null)
Checks whether or not two numbers are identical.
applyScale($left_operand, $scale=null)
add($left_operand, $right_operand, $scale=null)
Adds two numbers.
pow($left_operand, $right_operand, $scale=null)
Raises a number to another.
mul($left_operand, $right_operand, $scale=null)
Multiplies two numbers.
round($value, $precision=0)
div($left_operand, $right_operand, $scale=null)
Divides two numbers.
mod($left_operand, $right_operand)
Gets modulus of two numbers.