Number: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
'''Description:''' A real number, i.e. 1, -25, 6.52, 1805.6352
=Number Type=
A real number, i.e. 1, -25, 6.52, 1805.6352


==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]]. It 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]]
[[Category: Data Types]]
[[Category: Data Types]]

Revision as of 03:58, 27 August 2007

Number Type

A real number, i.e. 1, -25, 6.52, 1805.6352

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. It 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