Working with Basic Integer Numbers

There are two types of integers (whole numbers such as 1, 2, 457, and so on) that are supported: Signed Integers and Fixed Length Integers. When working with integer numbers, you need to be aware of what the largest value is that you could be dealing with.

If you are dealing with smaller numbers, for example, a number of people, then the signed integer type can cope with numbers up to 2,000,000,000 (actually, numbers up to 2,147,483,647, or 231-1), however, if you are dealing with larger, for example, astronomical numbers, then the fixed form of integers needs to be used. The larger Fixed Integers are dealt with in Advanced Scripting Examples.