I think you might benefit from the use of intin order to chop off the fractional component for $quo.
In reply to Re^5: why is my for loop using modulo giving me a weird output
by marinersk
in thread why is my for loop using modulo giving me a weird output
by perlynewby
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |