in reply to Re^2: Beginner's help
in thread Beginner's help

The chomp in your calculation of $C should not be necessary.

You can use sprintf to control the number of decimal places displayed for $C.