Did you want the remainder (i.e. the modulo, as given by other posters) or just the result rounded up? You can get the latter with:
-Tatsuse POSIX qw/ceil/; print POSIX::ceil( 5/3 );
In reply to Re: mathematical operators
by Itatsumaki
in thread mathematical operator for integer division, "div" ?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |