Next: , Previous: , Up: Data Classes   [Contents][Index]


6.2.2 Scalars

A scalar is a single number. The more digits you wish to specify for a number, the more memory space is required to store that number. To make efficient use of the limited amount of memory that is available, LUX offers different numerical data types, which offer greater or smaller ranges of numbers, and so require greater or smaller amounts of memory for storage.

LUX allows specification of integer numbers in octal (base 8), decimal (base 10), and hexadecimal (base 16) formats, and floating-point numbers in decimal and restricted sexagesimal (base 60) notation. In addition, LUX allows specification of complex numbers.