Skip to content

Binary, Octal, Hex literals #161

@KCreate

Description

@KCreate
// binary
0b00001000 // => 8
0b00000100 // => 4

// octal
0o00000040 // => 32
0o00000020 // => 16

// hex
0x00000F00 // => 256
0x00000010 // => 16

Prefixes:

Binary: 0b
Octal: 0o
Hex: 0x

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions