I have the $valor
variable that returns me
10,00
I needed to format this number for
10.00
Instead of the comma ,
put a dot .
I tried to use the function number_format($valor, 2, '.', '')
but it is giving error and I can not.
Does anyone have a solution?
Error encountered:
"A non well formed numeric value encountered in line 15 "