32 public function add($left_operand, $right_operand,
int $scale = null);
41 public function sub($left_operand, $right_operand,
int $scale = null);
50 public function mul($left_operand, $right_operand,
int $scale = null);
60 public function div($left_operand, $right_operand,
int $scale = null);
69 public function mod($left_operand, $right_operand);
78 public function pow($left_operand, $right_operand,
int $scale = null);
86 public function sqrt($operand,
int $scale = null);
96 public function comp($left_operand, $right_operand,
int $scale = null);
105 public function equals($left_operand, $right_operand,
int $scale = null): bool;
113 public function applyScale($left_operand,
int $scale = null);
118 public function round($value,
int $precision = 0): string;
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
sqrt($operand, int $scale=null)
Gets the square root of a number.
applyScale($left_operand, int $scale=null)
This method adapts the behaviour of bcscale()
div($left_operand, $right_operand, int $scale=null)
Divides two numbers.
round($value, int $precision=0)
comp($left_operand, $right_operand, int $scale=null)
Compares two numbers.
equals($left_operand, $right_operand, int $scale=null)
Checks whether or not two numbers are identical.
pow($left_operand, $right_operand, int $scale=null)
Raises a number to another.
sub($left_operand, $right_operand, int $scale=null)
Subtracts two numbers.
mul($left_operand, $right_operand, int $scale=null)
Multiplies two numbers.
mod($left_operand, $right_operand)
Gets modulus of two numbers.
add($left_operand, $right_operand, int $scale=null)
Adds two numbers.