movePointLeft

fun movePointLeft(n: Int): BigDecimal

Returns a BigDecimal which is equivalent to this one with the decimal point moved n places to the left. If n is non-negative, the call merely adds n to the _scale. If n is negative, the call is equivalent to movePointRight(-n). The BigDecimal returned by this call has value (this 10<sup>-n</sup>) and _scale max(this._scale()+n, 0).

Return

a BigDecimal which is equivalent to this one with the decimal point moved n places to the left.

Parameters

n

number of places to move the decimal point to the left.

Throws

if _scale overflows.