showing results for - "javascript moeda reais"
Kayson
24 Jul 2016
1var atual = 600000.00;
2
3//com R$
4var f = atual.toLocaleString('pt-br',{style: 'currency', currency: 'BRL'}).replace(".", ",");
5
6//sem R$
7var f2 = atual.toLocaleString('pt-br', {minimumFractionDigits: 2}).replace(".", ",");
8
9