| 1 | <?php |
||
| 22 | class FloatHelper { |
||
| 23 | |||
| 24 | /** |
||
| 25 | * Parse a string. |
||
| 26 | * |
||
| 27 | * @param string $value The string value. |
||
| 28 | * @return float Returns the float represented by the string value. |
||
| 29 | * @throws FloatArgumentException Throws a float argument exception if the string value does not represent a float. |
||
| 30 | */ |
||
| 31 | public static function parseString($value) { |
||
| 40 | |||
| 41 | } |
||
| 42 |