Re: Floating point numbers

Posted by mnemo on November 15, 2000 at 15:30:13:

In Reply to: Floating point numbers posted by Abimael on November 15, 2000 at 15:14:30:

Hmm, are you using FormatFloat for output? the ffXXXX constants combined with truncating/extending the decimal count can cause horrible problems very similar to this one. I'm not very much into databases at all so I cant give you any real help.


: Hello friends
: I work in a Financial app and have trouble with Fieldbyname(..).asFloat property. I put 1,003182058 number in my MSSQL 7 table but when I read the record and fill a variable with Fieldbyname(..).asFloat , I see 1,00318205799999993 value on this variable. It's a big problem to me
: Someone can help me ??

: Thanks
: Abimael

Related Articles and Replies: