Floor()
Floor() rounds down to the next whole number, dependent on the sign.
Syntax: ergebnis = Floor( value as single )
Example:
dim a as single a=123.50011 a = Floor(a) ' result: 123.0 a=-123.50011 a = Floor(a) ' result: -124.0
en:floor
Floor() rounds down to the next whole number, dependent on the sign.
Syntax: ergebnis = Floor( value as single )
Example:
dim a as single a=123.50011 a = Floor(a) ' result: 123.0 a=-123.50011 a = Floor(a) ' result: -124.0