to Big Decimal Using Significand And Exponent
fun Long.toBigDecimalUsingSignificandAndExponent(exponent: Long, decimalMode: DecimalMode? = null): BigDecimal
fun Int.toBigDecimalUsingSignificandAndExponent(exponent: Long, decimalMode: DecimalMode? = null): BigDecimal
Create BigDecimal from BigInteger significand and supplied exponent. Example: 1234L.toBigDecimalUsingSignificandAndExponent(2) produces 1.234E2
fun Short.toBigDecimalUsingSignificandAndExponent(exponent: Long, decimalMode: DecimalMode? = null): BigDecimal
Create BigDecimal from BigInteger significand and supplied exponent. Example: 123.toShort().toBigDecimalUsingSignificandAndExponent(2) produces 1.23E2
fun Byte.toBigDecimalUsingSignificandAndExponent(exponent: Long, decimalMode: DecimalMode? = null): BigDecimal
Create BigDecimal from BigInteger significand and supplied exponent. Example: 12.toByte().toBigDecimalUsingSignificandAndExponent(2) produces 1.2E2