Good morning all!
Well, here's what I need to do:
I have a float that is 77.23457823459078 and I want it to be displayed only as 77.23
Would anyone help me to do this, please? 🙂
Thanks a lot, kisses, Sheila!
see round and number_format functions.
$nr= 77.23457823459078 ; printf("%.2f",$nr);
or printf("%10.2f",$nr); // 10 digits before `.'
PM