Rounds `s` to the nearest whole number,
with halfway cases rounded towards the nearest multiple of two.
Namespace:
Godot
Assembly:
GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax public static float Round(
float s
)
Parameters
- s
- Type: SystemSingle
The number to round.
Return Value
Type:
SingleThe rounded number.
See Also