Other than those discussion people had before, if precision is so important, for example, this is a finance, or money related program, use bignum.
use bignum; print 215.88-214.89;
This gives you 0.99. But you have to fully understand the performance implication by doing this.
In reply to Re: Strange rounding Error in Perl
by pg
in thread Strange rounding Error in Perl
by kju
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |