Direct Known Satisfying Interfaces: Scalar<Other>
All Known Subtypes Hierarchy

- Number
  - Scalar
    - Float
    - Integer

Abstraction of numbers. Binary numeric operations are defined the interface Numeric. This type defines operations which can be expressed without reference to the self type `Other` of `Numeric`.

By: Gavin
See also: Numeric, Scalar

Attributes
float | Source Code shared formal Float float The number, represented as a `Float`. Throws: OverflowException if the number is too large to be represented as a `Float`
fractionalPart | Source Code shared formal Number fractionalPart The fractional part of the number, after truncation of the integral part.
integer | Source Code shared formal Integer integer The number, represented as an `Integer`, after truncation of any fractional part. Throws: OverflowException if the number is too large to be represented as an `Integer`
magnitude | Source Code shared formal Number magnitude The magnitude of the number.
negative | Source Code shared formal Boolean negative Determine if the number is negative.
positive | Source Code shared formal Boolean positive Determine if the number is positive.
sign | Source Code shared formal Integer sign The sign of this number. Returns `1` if the number is positive, `-1` if it is negative, or `0` if it is zero.
wholePart | Source Code shared formal Number wholePart The integral value of the number after truncation of the fractional part.

Inherited Attributes
Attributes inherited from: Object hash, string

Inherited Methods
Methods inherited from: Object equals