Difference between revisions of "Binary Numbers"

From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight")
m (Text replacement - "</source>" to "</syntaxhighlight>")
Line 20: Line 20:
 
a=0b00000111 -- a = 7
 
a=0b00000111 -- a = 7
 
a=0b00001000 -- a = 8
 
a=0b00001000 -- a = 8
a=0b00001001 -- a = 9</source>
+
a=0b00001001 -- a = 9</syntaxhighlight>
 
{|-
 
{|-
 
| style="width: 50%; vertical-align:top;"|
 
| style="width: 50%; vertical-align:top;"|

Revision as of 15:27, 13 July 2023


Supported platforms: Platform android.pngPlatform ios.pngPlatform mac.pngPlatform pc.png
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