August 2010
Intermediate to advanced
288 pages
13h 21m
English
In NXT-G 1.1, all numbers are integers, such as 27, 134, or −28. You can use positive or negative numbers, but no decimals. Working with integer math is fairly simple and comes naturally to most people. The two things you need to know when using integer math with NXT-G are the range of values supported and the way division works.
Most computers work with only a limited range of values. In NXT-G, the range of values you can use is from −2147483648 to 2147483647, which is slightly more than 2 billion for either positive or negative values. This is quite a large range and is more than sufficient for most purposes. As long ...
Read now
Unlock full access