<@U9RMY6DB6> implicit casts are forbidden in Kotli...
# announcements
a
@TorA implicit casts are forbidden in Kotlin, but it won't work even in java since mathematic operators are not overloaded for non-primitive numbers. In Kotlin you can easily overload them for BigDecimal like that:
Copy code
operator fun BigDecimal.times(other: BigDecimal) = this.multiply(other)
I believe that it was not added to the standard library on purpose since there is a lot of different ways to override non-generic numbers operations and developers do not know, which one to chose.