Every number includes 1.5, and 1.5 / 1 does not give an integer result.
The OP code even allows you to enter such numbers, since the input has no validation at all.
In reply to Re^3: how to make perl only print whole numbers
by SuicideJunkie
in thread how to make perl only print whole numbers
by derpp
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |