2 Instruction Descriptions
2-420
NJ-series Instructions Reference Manual (W502)
• If the number of valid digits in In exceeds the number of valid digits of Fraction, the value is rounded
to fit in the valid range of Fraction. The following table shows how values are rounded.
• An error occurs in the following case. ENO will be FALSE, and Fraction and Exponent will not
change.
• The value of In is nonnumeric or infinity.
Value of fractional part Treatment Examples
Less than 0.5 The fractional part is truncated. 1.49 → 1
−1.49 → −1
0.5 If the ones digit is an even number, the value is trun-
cated. If it is an odd number, the value is rounded up.
1.50 → 2
2.50 → 2
−1.50 → −2
−2.50 → −2
Greater than 0.5 The fractional part is rounded up. 1.51 → 2
−1.51 → −2