simple_currency_format 1.0.4 copy "simple_currency_format: ^1.0.4" to clipboard
simple_currency_format: ^1.0.4 copied to clipboard

outdated

A simple API to format currency values. As pattern, the package use pt_BR locale and R$ symbol.

simple_currency_format #

A simple API to format currency values. As pattern, the package use pt_BR locale and R$ symbol.

Usage #

Use currencyFormat function to format a num

print(currencyFormat(10));

Output:

R$ 10,00

Use removeZeroDecimal function to format a num

print(removeZeroDecimal(0500));

Output:

500

3
likes
0
points
61
downloads

Publisher

unverified uploader

Weekly Downloads

A simple API to format currency values. As pattern, the package use pt_BR locale and R$ symbol.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, intl

More

Packages that depend on simple_currency_format