How can I round numbers stored in variables? Here is a scenario:
$num= '57';
$count = $num/30;
How can I round the result up to 2?
hi ! please try below code. i test it it works fine.
print "eee=".ceil(@$count)."";
See [man]round/man.