kotlin.java.math.BigDecimal

Extensions for java.math.BigDecimal

div

operator fun BigDecimal.div(other: BigDecimal): BigDecimal

Enables the use of the / operator for BigDecimal instances.

minus

operator fun BigDecimal.minus(other: BigDecimal): BigDecimal

Enables the use of the - operator for BigDecimal instances.

plus

operator fun BigDecimal.plus(other: BigDecimal): BigDecimal

Enables the use of the + operator for BigDecimal instances.

rem

operator fun BigDecimal.rem(other: BigDecimal): BigDecimal

Enables the use of the % operator for BigDecimal instances.

times

operator fun BigDecimal.times(other: BigDecimal): BigDecimal

Enables the use of the * operator for BigDecimal instances.

unaryMinus

operator fun BigDecimal.unaryMinus(): BigDecimal

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

© 2010–2017 JetBrains s.r.o.
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/java.math.-big-decimal/

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部