in reply to Re^2: substitution "0" in decimals
in thread substitution "0" in decimals
see footnotes in Re^3: substitution "0" in decimals
Anyway I'm not sure if a conversion to float (resulting in information loss) really happens when stored or just during some numerical calculations:
DB<4> $d1 = "1230.1200"; DB<5> $d1 = $d1 + 0; DB<6> print $d1."00" 1230.1200
Cheers Rolf
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: substitution "0" in decimals
by JavaFan (Canon) on Dec 08, 2009 at 12:57 UTC | |
by LanX (Saint) on Dec 08, 2009 at 13:22 UTC |