Floor (ACS function)
Jump to navigation
Jump to search
fixed Floor (fixed value)
Usage
Rounds the specified value to the lowest whole number.
Return value
The value after rounding, as a fixed-point number.
Examples
This will print "Value is 2":
script "FlooredTest" (void)
{
PrintBold(s: "Value is ", f: Floor(2.5));
}