Rounds `s` downward (towards negative infinity).
This is the same as
Floor(Single), but returns an `int`.
Namespace:
Godot
Assembly:
GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax public static int FloorToInt(
float s
)
Parameters
- s
- Type: SystemSingle
The number to floor.
Return Value
Type:
Int32The largest whole number that is not more than `s`.
See Also