Package | Description |
---|---|
jota.utils |
Modifier and Type | Method and Description |
---|---|
static IotaUnits |
IotaUnitConverter.findOptimalIotaUnitToDisplay(long amount)
Finds the optimal unit to display the specified amount in.
|
static IotaUnits |
IotaUnits.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IotaUnits[] |
IotaUnits.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static double |
IotaUnitConverter.convertAmountTo(long amount,
IotaUnits target)
Convert amount to target unit.
|
static long |
IotaUnitConverter.convertUnits(long amount,
IotaUnits fromUnit,
IotaUnits toUnit)
Convert the iota amount.
|
static String |
IotaUnitConverter.createAmountDisplayText(double amountInUnit,
IotaUnits unit,
boolean extended)
Create amount text.
|
Copyright © 2018. All rights reserved.