fromByte

fun fromByte(byte: Byte, decimalMode: DecimalMode? = null): BigDecimal

Convert a Byte into a BigDecimal.

i.e. 11 -> 1.1E+2

Return

BigDecimal representing input

Parameters

byte

Byte value to conver


open override fun fromByte(byte: Byte): BigDecimal

Convert a Short into a BigDecimal, but use supplied value directly as significant.

i.e. 7111 -> 7.111E+0

Return

BigDecimal representing input

Parameters

byte

Short value to conver