min

abstract fun min(val: BigDecimal): BigDecimal

Returns the minimum of this BigDecimal and val.

Return

the BigDecimal whose value is the lesser of this BigDecimal and val. If they are equal, as defined by the compareTo method, this is returned.

Parameters

val

value with which the minimum is to be computed.

See also

.compareTo