in reply to Simple addition/subtraction not working
sprintf
Floating_pointmy $fourth_total = sprintf '%.3f', $third_total + $fifth_num;
|
---|
In Section
Seekers of Perl Wisdom