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