Subject Re: [IBO] invalid floating point nightmare
Author Jason Wharton
Use AsExtended.

Jason Wharton
CPS - Mesa AZ
http://www.ibobjects.com


----- Original Message -----
From: <murmurrer@...>
To: <IBObjects@yahoogroups.com>
Sent: Wednesday, June 06, 2001 1:27 PM
Subject: [IBO] invalid floating point nightmare


> I use IBO 3.6.
> I have a table with a field of PRICE NUMERIC(13,2)
>
> As a test I have created an app with only:
>
> - TIB_connection
> - TwwIBOquery (requestlive := true)
>
> When I put in code:
>
> wwIBOquery1.edit;
> wwIBOqueyy1.fieldbyname('price').asfloat := 12345678912.12;
>
> --> ERROR: invalid floating point operation
>
>
> when i do:
>
> wwIBOqueyy1.fieldbyname('price').asfloat := 123456789.12;
>
> there is no such error
>
> what's wrong with this code?
>
>
>
>
>
>
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>