I have the below simple number, $total = 1060;
, that i need to format as below using PHP
10.60
What i tried
$total = 1060;
number_format($total, 2)
But the result showing is 1,060.00
instead of the below 10.60
Plus I need it to be a dot .
and not a comma ,
as the separator