The functions inc and dec in the BigDecimal class are currently not defined as operator fun like in the BigInteger class which has operator fun dec(): BigInteger and operator fun inc(): BigInteger
Maybe this is a API bug. If not and it was intentional it should be documented.
The functions
incanddecin theBigDecimalclass are currently not defined asoperator funlike in theBigIntegerclass which hasoperator fun dec(): BigIntegerandoperator fun inc(): BigIntegerMaybe this is a API bug. If not and it was intentional it should be documented.