rgbcof
asked on
perl, get rid of exponential notation
$val1 = "0.000001";
$val2 = $val1 + "0.00001";
print "val2 = $val2\n"; # it prints out 1.1e-05
#How do I get it to print "0.000011"
$val2 = $val1 + "0.00001";
print "val2 = $val2\n"; # it prints out 1.1e-05
#How do I get it to print "0.000011"
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER