Skip to Content
0
Former Member
Dec 20, 2008 at 08:12 PM

Check Floating Point Number

16 Views

Hello All,

I am having some trouble checking the value of a field with Key Figure type Number with 8 byte floating point. I want to read that field and populate another field with an X if true. For example if that field is equal to 5,0000000000000000E+07 then i want to mark the other field with an 'X'.

The problem is in my code, how do i read that number in the fltp field, such as the number above. my code reads as follows for the 'X' field.

if SOURCE_FIELDS-abc123 eq 5000000.

RESULT = 'X'.

endif.

Thanks everyone in advance