Changes between Version 1 and Version 2 of olivine/dsl/types/core
- Timestamp:
- May 21, 2020 10:41:46 PM (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
olivine/dsl/types/core
v1 v2 7 7 }}} 8 8 9 == whole number == 10 Whole numbers are numbers without fractions. They can be positive or negative but cannot have a decimal point. 9 == integer == 10 Integers are whole numbers, they are numbers without fractions. They can be positive or negative but cannot have a decimal point. For example, the most important whole number in all of the universe is: 11 12 {{{ 13 42 14 }}} 15 16 == real == 17 Reals are rational numbers, they are numbers that may have decimal points. They can be positive or negative and although are compatible with whole number values you must always specify a decimal point to explicitly express a `real` value. Here are examples of reals (for reals!): 18 19 {{{ 20 42.0 21 22 7.8 23 24 -23.82 25 }}} 26 11 27 12 28 == list ==