Abs (Function) — Skript

Addon: Skript · Category: Function

Syntax

abs(n: number) :: number

Description

Returns the absolute value of the argument, i.e. makes the argument positive.

Examples

abs(3) = 3
abs(-2) = 2

View source