EasyManua.ls Logo

Mitsubishi MELFA CR1D - Page 331

Mitsubishi MELFA CR1D
458 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
4MELFA-BASIC IV
Detailed Explanation of Functions 4-318
Fix
[Function]
Returns the integral portion of the equation.
[Format]
[Reference Program]
1 M1=Fix(5.5) ' 5 is assigned to M1.
[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
<Numeric Variable>=Fix(<Equation>)

Table of Contents

Related product manuals