/numerical

Numerical format for numbers

Primary LanguageGoMIT LicenseMIT

Numerical

Convert a number to currency format.

Installing

go get github.com/mamaz/numerical

Example

ConvertToCurrency(12000, ",") // will produce 12,000
ConvertToCurrency(10000, ".") // will produce 12.000

License

MIT License