paullhenri-l/php-format-stat-number

1.0.0 2021-10-02 16:51 UTC

This package is auto-updated.

Last update: 2024-09-29 05:36:39 UTC


README

PHP Tests PHP Code Style License: MIT

此包存在的原因是我太懒惰,不愿意在需要显示数字时编写 number_format(10.20, 2, '.', ' ')。 (我使用法语格式化)

安装

composer require paulhenri-l/php-format-stat-number

用法

由于 composer 会自动加载函数,所以您只需调用它即可。

fsn(10000.123); // 10 000,12