예제 #1
0
 /**
  * FloatNumber constructor.
  *
  * @param float|int|string $value
  * @param int              $scale
  */
 public function __construct($value, $scale = 2)
 {
     parent::__construct($value);
     $this->setScale($scale);
 }
예제 #2
0
 public function __construct($value)
 {
     parent::__construct($value);
 }