Number types are designed to represent various types of numerical values as they might appear in narrative text in order to normalize them for storage, for presentation in the viewer as a fallback to format functions, and as parameters for advanced format functions like auditing, aggregation, or sorting.
Numbers are composed of integer and real subparts. Every number can be expressed using any of these types. Integer types are those which don't include decimal places, taking all of their values as integers. Real types are those which include a decimal portion. Scientific types are expressed in scientific notation using an upper or lowercase E character to indicate the exponent portion.
1. (@TWENTY4-HUNDRED 2400.33 (d number integer)) ⇒ 2400 2. (@TWENTY4-HUNDRED (d number real)) ⇒ 2400.33 3. (@TWENTY4-HUNDRED (d number real 3)) ⇒ 2400.330 4. (@DOLLAR-RANGE $2-3 million (d number range)) ⇒ 2000000-3000000 5. (@TWENTY4-HUNDRED 2.4e3 (d number sci)) ⇒ 2400