scaleByPowerOfTen

open override fun scaleByPowerOfTen(n: Int): BigDecimal

Returns a BigDecimal whose numerical value is equal to (this * 10n). The _scale of the result is (this._scale() - n).

Return

a BigDecimal whose numerical value is equal to (this * 10n)

Since

1.5

Parameters

n

the exponent power of ten to _scale by

Throws

if the _scale would be outside the range of a 32-bit integer.