java.lang.Object
tech.deplant.java4ever.framework.CurrencyUnit.CustomToken
-
Nested Class Summary
Nested classes/interfaces inherited from interface tech.deplant.java4ever.framework.CurrencyUnit
CurrencyUnit.CustomToken, CurrencyUnit.Ever, CurrencyUnit.Tokens
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface tech.deplant.java4ever.framework.CurrencyUnit
nanos, nanos
-
Constructor Details
-
CustomToken
public CustomToken(int decimals) Instantiates a new Custom token.- Parameters:
decimals
- the decimals
-
-
Method Details
-
factor
Description copied from interface:CurrencyUnit
Factor big decimal.- Specified by:
factor
in interfaceCurrencyUnit
- Returns:
- the big decimal
-
decimals
public int decimals()Description copied from interface:CurrencyUnit
Decimals int.- Specified by:
decimals
in interfaceCurrencyUnit
- Returns:
- the int
-