public class ConvertChainDigitsUtil extends Object
| Constructor and Description |
|---|
ConvertChainDigitsUtil() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getAmountFromPrecision(Integer currencyPrecision,
BigDecimal b)
Get amount from precision
|
static BigInteger |
getChainDigits(Integer chainIndex,
BigDecimal b)
Get chain digits
|
static BigDecimal |
getUserDigits(Integer chainIndex,
BigDecimal b)
Get user digits
|
public static BigInteger getChainDigits(Integer chainIndex, BigDecimal b)
chainIndex - b - public static BigDecimal getUserDigits(Integer chainIndex, BigDecimal b)
chainIndex - b - public static String getAmountFromPrecision(Integer currencyPrecision, BigDecimal b)
currencyPrecision - b - Copyright © 2023. All rights reserved.