Fix
The Fix function returns the integer part of a specified number.
Note : If the number parameter contains Null, Null will be returned.
Syntax :
Fix(number)
Parameters | Description |
---|---|
number | Required. A valid numeric expression. |
Examples :
Example 1
dFix = (Fix(7.83227) & "<br />")
dFix = (Fix(7.23443))
DEBUG(dFix)
Result :
dFix
= 6
= 6
Example 2
dFix = (Fix(-7.13443) & "<br />")
dFix = (Fix(-7.93443))
DEBUG(dFix)
Result :
dFix
= 6
= -6