Round (Function) — Skript
Addon: Skript · Category: Function
Syntax
round(n: number, [d: number]) :: numberDescription
Rounds a number, i.e. returns the closest integer to the argument. Place a second argument to define the decimal placement.
Examples
round(2.34) = 2
round(2) = 2
round(2.99) = 3
round(2.5) = 3