Abstract
Protected
constructorCreates an instance of the class with the specified code and value.
The code associated with this instance.
The value associated with this instance.
Returns the integer part of the FixedPointNumber value.
the integer part of this FixedPointNumber value.
If the value is not finite.
Do not use for financial math: apply FixedPointNumber methods instead.
Returns the array of bytes representing the Normalization Form Canonical Composition Unicode Equivalence of the textual expression 'value code'.
Return this {@linl value} approximated as number.
Do not use for financial math: apply FixedPointNumber methods instead.
Return the current value as an FixedPointNumber (Fixed-Point Number).
The current value in Fixed-Point Number format.
Compares this Currency object with another Currency object for order.
The Currency object to be compared.
A negative integer, zero, or a positive integer as this Currency is less than, equal to, or greater than the specified Currency.
Determines if this Currency object is equal to another Currency object.
The Currency object to compare with the current instance.
true
if the objects are considered equal, otherwise false
.
Abstract class representing a coin, implementing the Currency interface.