Floor
From GECK
(Redirected from Flr)
A function added by the Fallout Script Extender.
Contents
Description
Returns the nearest whole number that is less than a float
Syntax
(flooredVal:float) Floor float:float
Or:
(flooredVal:float) flr float:float
Example
float fMyNum
let fMyNum := Floor 0.1
fMyNum == 0.0
let fMyNum := Floor 1.6
fMyNum == 1.0
let fMyNum := Floor 2.0
fMyNum == 2.0
let fMyNum := Floor 3.5
fMyNum == 3.0