Skip to content

Instantly share code, notes, and snippets.

@vialyx
Created February 19, 2018 12:17
Show Gist options
  • Save vialyx/223b03fe21559203ad692ad55fd6294b to your computer and use it in GitHub Desktop.
Save vialyx/223b03fe21559203ad692ad55fd6294b to your computer and use it in GitHub Desktop.
let decimalInteger = 17
let binaryInteger = 0b10001 // 17 in binary notation
let octalInteger = 0o21 // 17 in octal notation
let hexadecimalInteger = 0x11 // 17 in hexadecimal notation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment