Click or drag to resize

MathfFloor Method

Rounds `s` downward (towards negative infinity).

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public static float Floor(
	float s
)

Parameters

s
Type: SystemSingle
The number to floor.

Return Value

Type: Single
The largest whole number that is not more than `s`.
See Also