How are you attempting the conversion? Are you using the MOVE opcode, or the %dec BIF? Could this be a truncation matter … perhaps all you need is an eval(h)?
A code snippet would help diagnose what’s happening.
Register Hereor login if you are already a member
When I use SQL to insert data into FLD05F,
INSERT INTO DECTEST VALUES(1.9290000E+002)
the floating point field contains data that can be off by one digit.
It's not the conversion to 15P5, it's already messed up in the float field.
Assuming that you can't get the XLPARSER4 to pull the field down as text ..
There is something about Half adjust EVAL(H) .. I will have to think on this... got it .. there has to be one more digit (6) in the float then the 15P5
so this 19289999.E-005 goes to 192.89999
works for 19290001.E-006 which goes to 19.29000