Posts by João da Silva • 86 points
1 post
-
7
votes2
answers1166
viewsA: Swap a dot for a comma and add a dot
Use the function number_format for its amendment $valor = 1000.50; $valor = number_format($valor, 2 , ",", ".");…
1 post
7
votes2
answers1166
viewsUse the function number_format for its amendment $valor = 1000.50; $valor = number_format($valor, 2 , ",", ".");…