SHIP:Data Types:Boolean

From Serious Documentation
Revision as of 04:24, 19 April 2014 by Admin (talk | contribs) (Created page with "*'''Node Home''' *'''All Data Types''' <onlyinclude>Booleans SHIP are 1-bit values. {{DataTypeTableStart|}} |{{DataType|Boolean}}||A {{Reser...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Booleans SHIP are 1-bit values.

Data Type Description
Boolean A true or false value.

When Boolean values are assigned from other numeric data types (e.g. Byte, Short, Integer, Float), a zero value is cast to false, and a non-zero value is cast to true.

Conversely, when a Boolean value is assigned to another numeric data type (e.g. Byte, Short, Integer, Float), a false value is cast to zero, and a true value is cast to 1 (or 1.0f).