Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > 1e007a96761035f261351a68e7601417 > files > 854

parrot-docs-3.6.0-2.fc15.noarch.rpm

# Copyright (C) 2007-2009, Parrot Foundation.

=head1 Math Operations (continued)

There is a second common form of math operations. This form takes
one argument and performs the operation on the result, modifying it in
place.

=cut

.sub main :main

    $I0 = 3
    $I0 *= 2
    say $I0

    $N0 = 22.44
    $N0 /= 4
    say $N0

.end

# Local Variables:
#   mode: pir
#   fill-column: 100
# End:
# vim: expandtab shiftwidth=4 ft=pir: