Difference between revisions of "Binary Numbers"

From GiderosMobile
Line 2: Line 2:
 
'''Supported platforms:''' android, ios, mac, pc<br/>
 
'''Supported platforms:''' android, ios, mac, pc<br/>
 
'''Available since:''' Gideros 2017.10<br/>
 
'''Available since:''' Gideros 2017.10<br/>
=== Description ===
+
=== <translate>Description</translate> ===
 
<translate><br />
 
<translate><br />
 
Binary number representation.<br /><br />
 
Binary number representation.<br /><br />
  
 
<b>0b</b>BinaryPattern &emsp; Enter a number in binary format.<br /></translate>
 
<b>0b</b>BinaryPattern &emsp; Enter a number in binary format.<br /></translate>
=== Examples ===
+
=== <translate>Examples</translate> ===
 
'''Simple examples'''<br/>
 
'''Simple examples'''<br/>
 
<source lang="lua">  
 
<source lang="lua">  
Line 21: Line 21:
 
{|-
 
{|-
 
| style="width: 50%; vertical-align:top;"|
 
| style="width: 50%; vertical-align:top;"|
=== Methods ===
+
=== <translate>Methods</translate> ===
 
| style="width: 50%; vertical-align:top;"|
 
| style="width: 50%; vertical-align:top;"|
=== Events ===
+
=== <translate>Events</translate> ===
=== Constants ===
+
=== <translate>Constants</translate> ===
 
|}
 
|}

Revision as of 07:28, 24 August 2018

Supported platforms: android, ios, mac, pc
Available since: Gideros 2017.10

Description


Binary number representation.

0bBinaryPattern   Enter a number in binary format.

Examples

Simple examples

 
a=0b00000001 -- a = 1
a=0b00000010 -- a = 2
a=0b00000011 -- a = 3
a=0b00000100 -- a = 4
a=0b00000101 -- a = 5
a=0b00000110 -- a = 6
a=0b00000111 -- a = 7
a=0b00001000 -- a = 8
a=0b00001001 -- a = 9

Methods

Events

Constants