When I do this typecasting:
(float) \'0.00\';
I get 0. How do I get 0.00 and still have the data type as a float?
0
0.00
you can try this,it will work for you
number_format(0.00, 2)