MrNobo1024 has asked for the wisdom of the Perl Monks concerning the following question: ⭐ (math)
int($num) rounds a number down, but there dosen't seem to be any function to round a number up. int($num + 1) works ok for fractional values, but dosen't work right for integers. How can I round numbers up in a way that works for all numbers?
Originally posted as a Categorized Question.
Back to
Seekers of Perl Wisdom