Class TkmTK
- java.lang.Object
-
- com.h2tcoin.takamakachain.utils.threadSafeUtils.TkmTK
-
public class TkmTK extends Object
Tkm Token Utils.
all the values entered in the transactions are expressed in nTKprefix key Name scale generic green red G G giga 10^9 TKG TKR M M mega 10^6 TKG TKR h k kilo 10^3 TKG TKR h h hecto 10^2 TKG TKR da da deca 10^1 TKG TKR 1 TK TKG TKR d d deci 10^-1 TKG TKR c c centi 10^-2 TKG TKR m m milli 10^-3 TKG TKR µ ALTGR+m micro 10^-6 µTK TKG TKR n n nano 10^-9 nTK TKG TKR - Author:
- Giovanni Antino
-
-
Constructor Summary
Constructors Constructor Description TkmTK()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BigInteger
deciTK(int unit)
static BigInteger
deciTK(String unit)
static BigInteger
deciTK(BigInteger unit)
static String
getFeeViewTK(FeeBean fb)
static BigInteger
unitTK(int unit)
static BigInteger
unitTK(String unit)
static BigInteger
unitTK(BigInteger unit)
-
-
-
Method Detail
-
unitTK
public static BigInteger unitTK(int unit)
-
unitTK
public static BigInteger unitTK(BigInteger unit)
-
unitTK
public static BigInteger unitTK(String unit)
-
deciTK
public static BigInteger deciTK(int unit)
- Parameters:
unit
-- Returns:
-
deciTK
public static BigInteger deciTK(BigInteger unit)
-
deciTK
public static BigInteger deciTK(String unit)
-
-