|
|
|
Your skill will accomplish what the force of many cannot |
|
| PerlMonks |
Re: Rounding off the scale value after decimal pointby swampyankee (Parson) |
| on Sep 19, 2012 at 02:45 UTC ( #994397=note: print w/ replies, xml ) | Need Help?? |
|
Perl will use the floating point library for the C compiler used to build it, so I would expect (but not guarantee) that a C interface to the database would give the same answer as the perl interface. Double precision only has 15 or 16 significant digits, so the "4" in the right-most place is almost certainly not significant. See, for example,http://www.monash.edu.au/policy/gpnumacc.htm#SignificantFigures.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||