User's Manual

Chapter 3 Creating and Editing Screens
Example
Divide the value of $0 by 2.0 and store the value in $0 (this is a floating point
operation of signed 32-bit data).
Divide the value of $2 by $4 and store the value in $6 (this is a floating point
operation of signed 32-bit data).
FMOD (Get Floating Remainder)
Equation
Var1 = FMOD (Var2, Var3)
Explanation
Perform the division of Var2 and Var3, and store the remainder in Var1.
Remark
This is the operation of signed 32-bit data.
The calculation result can be stored as signed DWORD. When the data exceeds
the length of designated unit, the data out of range will be discarded.
Var1 can be internal memory only. Var2 and Var3 can be internal memory or
constant.
The value contained within Var3 cannot be equal to 0 (zero).
Revision May, 2010 3-313