paulhenri-l / php-format-stat-number
php-format-stat-number
1.0.0
2021-10-02 16:51 UTC
Requires
- php: ^7.3|^8.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.1
- paulhenri-l/php-cs-config: ^1.0
- phpunit/phpunit: ^9.0
- symfony/var-dumper: ^5.3
README
This package exists because I am too lazy to write number_format(10.20, 2, '.', ' ')
when I need to display numbers. (I format using French notation)
Installation
composer require paulhenri-l/php-format-stat-number
Usage
The function will be autoloaded thanks to composer so you'll only have to call it.
fsn(10000.123); // 10 000,12