/** * 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; }
/** * 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; }