Wha??? Sure it does 31 => 2 and 61 => 3 just like the OP:
$ perl -e 'print int( (31-1) / 30 ) + 1, "\n"' 2 $ perl -e 'print int( (61-1) / 30 ) + 1, "\n"' 3
In reply to Re^4: condensing code
by derby
in thread condensing code
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |