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

Number

PreviousNumeric ValuesNextBigInt

Last updated 3 months ago

Was this helpful?

The Decimal or a base 10 number is the most common format that we use today. It contains an integer component, that may be prefixed with a minus sign (- U+002D) or plus sign (+ U+002B) and maybe followed by a fraction part and/or exponent part.

The Base 10 Decimal Number
Chars
Char Code
Detail

-

U+002D

Minus Sign

+

U+002B

Plus Sign

.

U+002E

Decimal Point

0

U+0030

Zero

E

U+0045

Latin uppercase letter E

e

U+0065

Latin lowercase letter e

Some valid examples of decimal numbers are.

~ 1012
~ 10782.509
~ 77817123.1231
~ 10.5E+10
~ +99.99
~ -100
~ .456
~ -.50