simple-currency-formatting
v1.0.0
Published
Help properly format numerical values into currency notation.
Downloads
1
Readme
simple-currency-formatting
Library to help formatting currency values.
Example
const { formatCurrency } = require("simple-currency-formatter");
let string = formatCurrency(1004.3, 2, ".", ",", "$", "USD");
// output: $1,004.30 USD