LogoLogo
  • Internet Object 1.0
  • Internet Object
    • Abstract
    • The Poetic Principles of Internet Object
    • Objectives
    • Introducing Internet Object
  • The Structure
    • Internet Object Document
      • Header
      • Data Sections
    • Structural Elements
      • Structural Characters and Literals
      • Literals
      • Other Special Characters
      • Whitespaces
    • Values Representations
      • Objects
      • Arrays
      • Strings
        • Open Strings
        • Regular Strings
        • Raw Strings
      • Numeric Values
        • Number
        • BigInt
        • Decimal
        • Special Numeric Integer Formats
          • Hexadecimal
          • Octal
          • Binary
        • NaN and Infinity
      • Binary
      • Date and Time
      • Booleans
      • Nulls
    • Comments
    • Encoding
  • The Collections
    • Collection
    • Creating Collection
    • Collection Rules
    • Data Streaming
  • The Definitions
    • Definitions
    • Variables
    • Complex Schema
  • Schema Definition Language
    • Internet Object Schema
    • The structure
    • Data Types
      • Any
      • String
        • String Derived Types
          • Email
          • URL
          • Date
          • Time
          • DateTime
      • Number
        • Derived Types
          • int
          • byte
          • int16
          • int32
      • Object
      • Array
      • Bool
    • Dynamic Schema
    • Is Object, a MemberDef or a Schema?
  • Other
    • Best Practices
    • FAQs
    • Contributors
    • License
Powered by GitBook
On this page

Was this helpful?

Edit on GitHub
Export as PDF
  1. The Structure
  2. Values Representations
  3. Numeric Values
  4. Special Numeric Integer Formats

Hexadecimal

PreviousSpecial Numeric Integer FormatsNextOctal

Last updated 1 year ago

Was this helpful?

Internet Object supports hexadecimal non-fractional integer values. The hexadecimal integer may be prefixed with optional plus or minus signs and must start with "0X" or "0x" literal characters. It is then followed by one or more hexadecimal digits. The hexadecimal number from A through F can be lower or upper case.

The Structure of Hexadecimal Integer

Chars

Char Code

Detail

-

U+002D

Minus Sign

+

U+002B

Plus Sign

0

U+0030

Zero

X

U+0058

Latin uppercase letter X

x

U+0078

Latin lowercase letter x

Hexadecimal Digits

0-9

U+0030 to U+0039

ASCII digits - zero to nine

A-F

U+0041 to U+0046

Latin alphabets uppercase - A to F

a-f

U+0061 to U+0066

Latin alphabets lowercase - a to f

Some examples of Hexadecimal Integer values...

0XFF00FF, 0xff00ff, +0XAA21FF, -0X010408

The hexadecimal format does not support fractional non-integer values!