unaryMinus

inline operator fun BigDecimal.unaryMinus(): BigDecimal(source)

Enables the use of the unary - operator for BigDecimal instances.

Since Kotlin

1.0

inline operator fun BigInteger.unaryMinus(): BigInteger(source)

Enables the use of the unary - operator for BigInteger instances.

Since Kotlin

1.0