Page 1 of 1

NANs: Floating point error

Posted: Tue Dec 21, 2004 12:18 pm
by pravesh_kushwaha
Hi,
We are doing calculation(Division) on decimal fields.
We are getting the following error

APT_CombinedOperatorController(1),0: Fatal Error: APT_Decimal::assignFromDFloat: src (NaNS) is not a usable floating point value

The precision for both the fields is 18,4.
Please suggest the solution for this error.

Posted: Tue Dec 21, 2004 2:26 pm
by ray.wurlod
It's complaining about your data, not about your metadata.
Check your data (perhaps using ProfileStage or AuditStage) to determine whether there are any values that do not fit the metadata definition, for example out of range, non-numeric, and so on.

Posted: Mon Dec 27, 2004 6:51 pm
by T42
Trust Ray on this. Sure you could hack together a solution using EE, but I really really really advise that you don't. Stick to ProfileStage or AuditStage. You can build something in minutes that would take a couple hours or more under EE.