Skip to main content


A scalar is a single value of either string, boolean (true/false) or numeric


You construct a scalar variable by assigning a value to it, e.g.

// Constructing a string scalar
a = "String"

// Constructing a boolean scalar
b = true

// Constructing a numeric (integer) scalar
c = 10

// Constructing a numeric (decimal) scalar
d = 3.14

Numeric values always obey the currently configured precision settings which default to 6 decimal places and half_up rounding