Template:Boolean: Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
(Created page with "{{stub}} A boolean is a binary value, indicating either a "true" or a "false". In general, only a value of 0 or 1 is allowed. Any other value may cause undefined behavior, th...")
 
m (Replaced content with "boolean")
 
Line 1: Line 1:
{{stub}}
[[boolean]]
A boolean is a binary value, indicating either a "true" or a "false".
 
In general, only a value of 0 or 1 is allowed. Any other value may cause undefined behavior, though as a rule of thumb any positive value is interpreted as "true".
 
{| class=wikitable
! Value
! Meaning
|-
| 0
| False (No)
|-
| 1
| True (Yes)
|}
[[Category:unit]]

Latest revision as of 10:27, 20 March 2019