Is it possible to round off a number?
Example: The number is 45.561... and I only want it to be 46, but if the number after the . is < 5 then I want it to round off downwards...
Help me!
Well, the obvious answer is round()
$theinteger = round($thefloatingpointnumber);
Too much eggnog?
thanks