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
.
Attributes | |
float | Source Code shared formal Float float The number, represented as a Throws:
|
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 Throws:
|
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 |
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 |