Mathf.Abs Method (Single) |
Returns the absolute value of `s` (i.e. positive value).
Namespace:
Godot
Assembly:
GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntaxpublic static float Abs(
float s
)
Parameters
- s
- Type: System.Single
The input number.
Return Value
Type:
SingleThe absolute value of `s`.
See Also