It may not matter for the OP, but at least he should be made aware of when using this trick.perl -wE '$d1 = "1230.1200"; $d1 = $d1 + 0; printf "%.20f\n", $d1' 1230.11999999999999999556
In reply to Re^2: substitution "0" in decimals
by JavaFan
in thread substitution "0" in decimals
by Sun751
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |