Number: Difference between revisions
Jump to navigation
Jump to search
m (degrees) |
mNo edit summary |
||
Line 8: | Line 8: | ||
It's special properties are that it will always supply a value between 0 and 359 | It's special properties are that it will always supply a value between 0 and 359 | ||
==Integers and Floats== | ==Scripting vs Addons== | ||
===Integers and Floats=== | |||
Note that unlike config.cpp's (addons), a ''Number'' in scripting language is '''ANY''' numeric entity. Floats, or integers. It is NOT the same as a config's [[Integer]] or [[Float]]. Number covers both types. | Note that unlike config.cpp's (addons), a ''Number'' in scripting language is '''ANY''' numeric entity. Floats, or integers. It is NOT the same as a config's [[Integer]] or [[Float]]. Number covers both types. | ||
==Booleans== | ===Booleans=== | ||
Note also, unlike config.cpp's, [[Boolean]] is a real type in scripting language. In addons, it is a poetic licence for a zero/non zero [[Integer]] | Note also, unlike config.cpp's, [[Boolean]] is a real type in scripting language. In addons, it is a poetic licence for a zero/non zero [[Integer]] | ||
[[Category: Data Types]] | [[Category: Data Types]] |
Revision as of 02:55, 4 September 2007
Number Type
A real number, i.e. 1, -25, 6.52, 1805.6352
Degrees
Degrees are a poetic licence used to indicate a number returned from functions like acos and asin
It's special properties are that it will always supply a value between 0 and 359
Scripting vs Addons
Integers and Floats
Note that unlike config.cpp's (addons), a Number in scripting language is ANY numeric entity. Floats, or integers. It is NOT the same as a config's Integer or Float. Number covers both types.
Booleans
Note also, unlike config.cpp's, Boolean is a real type in scripting language. In addons, it is a poetic licence for a zero/non zero Integer