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
Convert a number to currency format.
go get github.com/mamaz/numerical
ConvertToCurrency(12000, ",") // will produce 12,000
ConvertToCurrency(10000, ".") // will produce 12.000
MIT License