Satisfied Interfaces: Comparable<Other>, Invertable<Other>, Number, Numeric<Other>, Summable<Other>
Direct Known Satisfying Classes: 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
fractionalPartSource 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
magnitudeSource Code
shared formal Other magnitude

The magnitude of this number.

Refined declaration: magnitude
wholePartSource 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
Attributes inherited from: Invertable<Inverse>
Attributes inherited from: Number
Inherited Methods
Methods inherited from: Object
Methods inherited from: Comparable<Other>
Methods inherited from: Numeric<Other>
Methods inherited from: Summable<Other>