Next: Strings, Previous: Undefined, Up: Data Classes [Contents][Index]
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.
• Numerical Data Types: | How to enter specific numerical values | |
• Integer Numbers: | How to enter integer values | |
• Floating-Point Numbers: | How to enter fractional values | |
• Complex Numbers: | How to enter complex values |