Premise:
The reference data are:
DB: Oracle
PowerBuilver Version: 12.1.6875
DW type for fields: NUMBER
Values: In debug mode both values are 2933.49
I have a very strange case.
This 'IF' statement comes back to me TRUE. Why?
**********************************************************************************************************
If dw_rate.GetitemNumber (1, 'imprat_c') <> dw_detail.GetitemNumber (i, 'imprat_c') Then
...
else
...
end if
**********************************************************************************************************
For solve the problem i have to write the code in this form:
**********************************************************************************************************
If round(dw_rate.GetitemNumber (1, 'imprat_c'), 2) <> round(dw_detail.GetitemNumber (i, 'imprat_c'), 2) Then
...
else
...
end if
**********************************************************************************************************
Ty for answer
Gimmy