Results 1 to 8 of 8
Thread: Doubles in PHP
Apr 11, 2009, 13:08 #1
Doubles in PHP
I'm trying to write a page generation script but some of my calculations will come out to decimal places.
would give about 3.333 I would need to round that to 4
$var=$a/$b and always round up, how would I do that?