Skip to main content

php_number_format 1.0.0 copy "php_number_format: ^1.0.0" to clipboard
php_number_format: ^1.0.0 copied to clipboard

PHP's number_format($x, 2) reproduced exactly in Dart, so a Flutter app shows the same money value as its PHP or Laravel backend.

1.0.0 #

  • First release on pub.dev: phpNumberFormat2 matches PHP 8.2/8.3 number_format($x, 2) bit for bit, verified against PHP 8.3.32 on more than two million generated values.
0
likes
160
points
576
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

PHP's number_format($x, 2) reproduced exactly in Dart, so a Flutter app shows the same money value as its PHP or Laravel backend.

Repository (GitHub)
View/report issues

Topics

#php #formatting #currency #rounding #laravel

License

MIT (license)

More

Packages that depend on php_number_format