Mitsubishi MELFA CR1D Instruction Manual page 331

Table of Contents

Advertisement

Fix
[Function]
Returns the integral portion of the equation.
[Format]
<Numeric Variable>=Fix(<Equation>)
[Reference Program]
1 M1=Fix(5.5)
[Explanation]
(1) Returns the integral portion of the equation value.
(2) If the equation evaluates to a positive value, the same number as Int will be returned.
(3) If the equation evaluates to a negative value, then for instance Fix(-2.3) = -2.0 will be observed.
[Reference]
Cint,
Int
' 5 is assigned to M1.
4MELFA-BASIC IV
Detailed Explanation of Functions 4-318

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melfa cr2dMelfa cr3d

Table of Contents