Abstraction of numeric types supporting addition,
subtraction, multiplication, and division, including
Integer and Float. Additionally, a numeric type
is expected to define a total order via an
implementation of Comparable.
| Inherited Attributes |
| Attributes inherited from: Object |
| Attributes inherited from: Invertable<Inverse> |
| Methods | |
| divided | Source Code shared formal Other divided(Other other) The quotient obtained by dividing this number by the given number. For integral numeric types, this operation results in a remainder. See also: Integral<Other> |
| minus | Source Code shared formal Other minus(Other other) The difference between this number and the given number. |
| times | Source Code shared formal Other times(Other other) The product of this number and the given number. |
| Inherited Methods |
| Methods inherited from: Object |
| Methods inherited from: Summable<Other> |