Gambas Documentation
Documents
ar
ca
cs
de
en
eo
es
fa
fr
hu
id
it
ja
ko
mk
nl
pl
pt
pt_BR
ru
sq
tr
vi
zh
zh_TW
Fix
Value
= Fix (
Number
)
Returns the integer part of a number.
Examples
PRINT
Fix
(
Pi
)
3
PRINT
Fix
(-
Pi
)
-3
The behaviour of Fix and
Int
are the same for positive number, and are different for negative numbers.
See also
Int
Arithmetical Functions