format-number-ln
v1.0.0
Published
Pacotes de utilidade para formatação de números para formato monetário.
Downloads
5
Readme
FORMAT MONEY LN
Pacotes de utilidade para formatação de números para formato monetário.
Get started
const formatMoney = require("format-number-ln");
console.log(formatMoney.formatAsCurrency(100, {
language: "pt-Br",
currency: "BRL"
}));
//Resultado: R$ 100,00
Functions
Function | Args | Description | -------- | -----| ----------- | |formatAsCurrency|number,options| number = numero que deseja formatar, options = {language: Linguagem, currency: Moeda}