in reply to
Multiply with 100 in perl
choroba
has shown that the "%.0f" format specifier solves the problem. The printf formats are "inherited" from C. The "%d" format in intended for printing C's INT type. It is almost never appropriate in perl.
Bill
Comment on
Re: Multiply with 100 in perl
In Section
Seekers of Perl Wisdom