Click or drag to resize

MathfAbs Method (Single)

Returns the absolute value of `s` (i.e. positive value).

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

Parameters

s
Type: SystemSingle
The input number.

Return Value

Type: Single
The absolute value of `s`.
See Also