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