Chapter 3 Creating and Editing Screens Example Multiply the value of $0 by 2.0 and store the value in $0 (this is a floating point operation of signed 32-bit data). Multiply the value of $2 by $4 and store the value in $6 (this is a floating point operation of signed 32-bit data). FDIV (Floating Division) Equation Var1 = FDIV (Var2, Var3) Explanation Perform the division of Var2 and Var3, and store the division result 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). 3-312 Revision May, 2010