Click or drag to resize

MathfAbs Method (Int32)

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 int Abs(
	int s
)

Parameters

s
Type: SystemInt32
The input number.

Return Value

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