Number (Type) — Skript

Addon: Skript · Category: Type · Since: 1.0 · Usage: [-]###[.###]</code> (any amount of digits; very large numbers will be truncated though)

Syntax

number

Description

A number, e.g. 2.5, 3, or -9812454. Please note that many expressions only need integers, i.e. will discard any fractional parts of any numbers without producing an error.

Examples

set the player's health to 5.5
set {_temp} to 2*{_temp} - 2.5

View source