in reply to Re: Re: Re: Re: Filthy Floats
in thread Filthy Floats
Well, I'm getting the number from the DB, and then multiplying it against another number, modifying the other number. And then I'm displaying the number.
It was treated as a number at some point in its history, even though I'm displaying it as a string and not really doing any math to it when I display it.
Anyway, its all been resolved. At some point it is being converted to a single and Perl assumes those digits are significant. If I could pull the double from the DB and use it as a double I would be happy, but even if it is set as a double, it still becomes a single.
In Section
Seekers of Perl Wisdom