Satisfied Interfaces: Comparable<Other>, Invertable<Other>, Number, Numeric<Other>, Summable<Other>
Direct Known Satisfying Classes: Float, Integer
All Known Subtypes Hierarchy

- Scalar
  - Float
  - Integer

Abstraction of numeric types representing scalar values with a total order, including the built-in numeric types Integer and Float.

By: Gavin
See also: Integer, Float

Attributes
fractionalPart | Source Code shared formal Other fractionalPart The fractional part of the number, after truncation of the integral part. For integral numeric types, the fractional part is always zero. Refined declaration: fractionalPart
magnitude | Source Code shared formal Other magnitude The magnitude of this number. Refined declaration: magnitude
wholePart | Source Code shared formal Other wholePart The integral value of the number after truncation of the fractional part. For integral numeric types, the integral value of a number is the number itself. Refined declaration: wholePart

Inherited Attributes
Attributes inherited from: Object hash, string
Attributes inherited from: Invertable<Inverse> negativeValue, positiveValue
Attributes inherited from: Number float, fractionalPart, integer, magnitude, negative, positive, sign, wholePart

Inherited Methods
Methods inherited from: Object equals
Methods inherited from: Comparable<Other> compare
Methods inherited from: Numeric<Other> divided, minus, times
Methods inherited from: Summable<Other> plus