Difference between revisions of "Binary Numbers"

From GiderosMobile
 
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
<!-- GIDEROSOBJ:Binary Numbers -->
+
'''Supported platforms:''' [[File:Platform android.png]][[File:Platform ios.png]][[File:Platform mac.png]][[File:Platform pc.png]][[File:Platform linux.png]]<br/>
'''Supported platforms:''' [[File:Platform android.png]][[File:Platform ios.png]][[File:Platform mac.png]][[File:Platform pc.png]]<br/>
 
 
'''Available since:''' Gideros 2017.10<br/>
 
'''Available since:''' Gideros 2017.10<br/>
  

Latest revision as of 23:46, 13 January 2025

Supported platforms: Platform android.pngPlatform ios.pngPlatform mac.pngPlatform pc.pngPlatform linux.png
Available since: Gideros 2017.10

Description

Binary number representation.

0bBinaryPattern, enter a number in binary format

Examples

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