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