Fix
Function
To return integer part of the numerical value.
Syntax
Fix(number)
Guaranteed entry
- number
- Designate double precision real number type data.
Return value
Return integer type data.
Description
Return integer part of the numerical value.
This is "Round toward zero(RZ)" function which rounds down the absolute value with ignoring signs.
When designating negative value as variable, return the smallest negative integer which is larger than variable.
Fix(1.5) is "1".
Fix(-1.5) is "-1".
Attention

