FIX |
fix gives the truncation of a number.
fix(num_exp)
|
Element |
Description |
Restrictions |
|
num_exp |
Numeric Expression |
-1e80< num_exp <1e80 |
Infbox num$(pi)-num$(fix(pi)): # Displays 3,14... and 3
X = fix(-pi): # X = -3
fix(X) returns X without the digits located after the dot, or period.
The type of result is Integer or Decimal depending on whether the result belongs to the [-2^31, 2^31-1] interval.
|
Error |
Description |
|
ERMODE (10) |
The parameter is not numeric. |
INT - AR2 - ARR - INTEGER - MOD
|
|