Abs (Function) — Skript
Addon: Skript · Category: Function · Since: 2.2
Syntax
abs(n: number) :: numberDescription
Returns the absolute value of the argument, i.e. makes the argument positive.
Examples
abs(3) = 3
abs(-2) = 2Skript Documentation is the best place to find the official skript documentation and feature latest working addons for the latest version of Skript Minestom.
Full documentationBrowse all docsAddon: Skript · Category: Function · Since: 2.2
abs(n: number) :: numberReturns the absolute value of the argument, i.e. makes the argument positive.
abs(3) = 3
abs(-2) = 2