%REM will return an integer.
You can multiply both factors by 100,1000,10000 and divide the result by the same number
Answer = %REM( A*100 : B*100)/100
so if A= 2.5421 and B = 2
the %REM(254.21 : 200) /100 = .54
or
Result = %int(A/B)
Remainder = A – (Result * B)
Phil
Discuss This Question: 2 Replies