Esempio n. 1
0
 /**
  * Rounds a number to the nearest value.
  *
  * @param float $number
  * @param int   $precision optional The number of digits to round to.
  * @param int   $mode      optional The rounding mode.
  * @return number
  */
 public function round($number, $precision = 0, $mode = PHP_ROUND_HALF_UP)
 {
     return $this->executionEngine->round($number, $precision, $mode);
 }