paulhenri-l/php-format-stat-number

1.0.0 2021-10-02 16:51 UTC

This package is auto-updated.

Last update: 2024-10-29 05:54:11 UTC


README

PHP Tests PHP Code Style License: MIT

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