| 1 | <?php |
||
| 19 | class FloatVO extends Mathematical |
||
| 20 | { |
||
| 21 | /** |
||
| 22 | * @var int|null |
||
| 23 | */ |
||
| 24 | protected $round = null; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @param double $value |
||
| 28 | */ |
||
| 29 | 7 | public function __construct($value, $round = null) |
|
| 41 | |||
| 42 | /** |
||
| 43 | * @param $value |
||
| 44 | * @param $round |
||
| 45 | * @return float |
||
| 46 | */ |
||
| 47 | 1 | public function round($value, $round) |
|
| 51 | |||
| 52 | /** |
||
| 53 | * @return float |
||
| 54 | */ |
||
| 55 | 5 | public function getValue() |
|
| 61 | } |
||
| 62 |