Rounding (Expression) — Skript

Addon: Skript · Category: Expression · Since: 2.0

Syntax

[a|the] (round[ed] down|floored) %numbers%

Description

Rounds numbers normally, up (ceiling) or down (floor) respectively.

Examples

set {var} to rounded health of player
set line 1 of the block to "%rounded (1.5 * player's level)%"
add rounded down argument to the player's health

View source