Ejemplo n.º 1
0
 /**
  * Returns a BigDecimal representing one, with a scale of zero.
  *
  * @return BigDecimal
  */
 public static function one()
 {
     static $one;
     if ($one === null) {
         $one = new self(BigInteger::one());
     }
     return $one;
 }