Do you know where your variables are? | |
PerlMonks |
Re: shocking imprecisionby rgiskard (Hermit) |
on Oct 23, 2011 at 14:04 UTC ( [id://933209]=note: print w/replies, xml ) | Need Help?? |
xrmb sprintf is the way to go, but if you're feeling lazy; just add "use bigrat;" (aka. big rational, cpan: bigrat) to the top of your proggie. It is not optimal (neither is bignum), but it does increases precision. Example: imprecise.plOutput:
In Section
Seekers of Perl Wisdom
|
|