Converts a real number to an integer
Fix(number=[numeric])
number
numeric
true
The number to convert to an integer
Run Example
fix( 1.8 );
Result: 1
writeOutput( fix( 7.546 ) ); // 7
Abs
Acos
Asin
Atn
Ceiling
Cos
DecrementValue
Exp
Floor
FormatBaseN
IncrementValue
InputBaseN
Int
Log
Log10
Max
Min
Pi
PrecisionEvaluate
Rand
Randomize
RandRange
Round
Sgn
Sin
Sqr
Tan
Last updated 1 year ago
Was this helpful?