prints 8... orperl -Minteger -e 'print 15/2 + 1'
use strict; use warnings; my $eight = int (15 / 2 ) +1; print $eight;
In reply to Re^2: integer operations
by tphyahoo
in thread integer operations
by wannabeboy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |