Last updated:
0 purchases
simple currency format
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));
copied to clipboard
Output:
R$ 10,00
Use removeZeroDecimal function to format a num
print(removeZeroDecimal(0500));
copied to clipboard
Output:
500
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.