Skip to main content

Mathf.Abs(number value)

Returns the absolute value of f.

Parameters:

NameTypeDescription
valuenumbervalue

Returns:

typeDescription
numberthe absolute value of value.

Usage

---@type number
local value;


local val0 = Mathf:Abs(value)