HI
Does anyone know why AIM will not see the difference between 2 fields if the difference is on the 4th or higher decimal place. Example:
I have process capturing new rates from the user and then overwrites a different business object with the new rate. The old rate would be 0.1219 and the new rate will be 0.1220. As soon as the process wants to change the value the log says "Value has not changed. Value is still 0.1220." If you open that record you can see it is 0.01219. It's as if the rule system rounds the numbers before seeing if there is a change.
Can I somehow force it to still write the value without AIM checking if it changed?
Thanks!
AwareIm not seeing change on 4 decimal places
Re: AwareIm not seeing change on 4 decimal places
See attachment/screenshot as example...
-
- Posts: 7525
- Joined: Sun Apr 24, 2005 12:36 am
- Contact:
Re: AwareIm not seeing change on 4 decimal places
You cannot compare decimal numbers using simple equality - you need to do something like this:
IF ABS(Object.Nmb1 - Object.Nmb2) < 0.0001 THEN
DO SOMETHING WHEN EQUAL
IF ABS(Object.Nmb1 - Object.Nmb2) < 0.0001 THEN
DO SOMETHING WHEN EQUAL
Aware IM Support Team