EasyManua.ls Logo

Mitsubishi Electric CR750-Q - Page 430

Mitsubishi Electric CR750-Q
730 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...
4-410 Detailed Explanation of Functions
4MELFA-BASIC V
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