paulhenri-l / php-format-stat-number
php-format-stat-number
Installs: 24
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/paulhenri-l/php-format-stat-number
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