Redundant instruction
This is a redundant instruction. It is replaced by: FP_ROUND
The function rounds off the decimal part of the real number data and returns it at output d.
Input
Source
Output
Destination
Instead of using this F instruction, we recommend using the corresponding FP7 instruction: FP_ROUND
If the first post-decimal digit is between 0..4, the pre-decimal value is rounded down. If the first post-decimal digit is between 5..9, the pre-decimal value is rounded up.
if the value at input s is not a number of the data type REAL.
if the value at input s is not a number of the data type REAL.
if the calculated result is 0.
if the result causes an overflow.