FIX
The FIX function is a mathematical function that removes the fractional part of a real number and returns the result as an integer value.
Function Name |
FIX |
Description |
Removes the fractional part of a real number and returns the result as an integer value. |
Arguments |
FIX(INTEGER or REAL) For more information, see Number (Integer or Real). |
Returns |
INTEGER The integer value that is numerically equal to the integer part of the input value. |
Example:
FIX(1.735)
The output is 1.
FIX (8.5)
The output is 8
FIX(-8.6)
The output is -8.