Posts by Gabriel Nunes • 266 points
1 post
-
25
votes5
answers41336
viewsA: Number formatting (PHP)
Use the function number_format(); $valor = 12345678900; echo number_format($valor,2,",","."); // 123.245.678.900,00…
phpanswered Gabriel Nunes 266