use POSIX; print floor(5.2); #5 print ceil(5.2); #6 [download]
In reply to Re: round numbers by husoft in thread round numbers by Anonymous Monk