Number (Type) — Skript

Addon: Skript · Category: Type · Since: 1.0

Syntax

number

Description

A number, e.g. 2.5, 3, -9812454, 30 degrees or 3.14 radians. Please note that many expressions only need integers, i.e. will discard any fractional parts of any numbers without producing an error. Radians will be converted to degrees.

Examples

set the player's health to 5.5
set {_temp} to 2*{_temp} - 2.5
set {_angle} to 3.14 in radians # will be converted to degrees

View source