Fix format number zero return empty string instead of zero

Good catch.
So it can be simple :D
```php
 if (!preg_match("#^\d+(\.\d+)?$#", $number)) {
```