in reply to
Strange rounding Error in Perl
If you don't have to do many operations on your numbers, you can just do something like the following:
print ((215.88 * 100 - 214.89 * 100) / 100);
[download]
This will return 0.99, which is what you want.
Comment on
Re: Strange rounding Error in Perl
Download
Code
In Section
Seekers of Perl Wisdom