Posts by Gilmar Borges • 41 points
1 post
-
3
votes12
answers79762
viewsA: Formatting Brazilian currency in Javascript
Javascript has this method Intl that almost no one knows. It not only formats number as date. const atual = 600000.00; const valorFormatado = Intl.NumberFormat('pt-br', {style: 'currency', currency:…
javascriptanswered Gilmar Borges 41