Changed setting up BigDecimal.Zero to Double
This commit is contained in:
parent
003fd047e3
commit
56caa78bf8
|
@ -17,8 +17,7 @@ actual fun Collection<BigDecimal>.sum(): BigDecimal {
|
|||
actual class BigDecimal actual constructor(decimal: String) : java.math.BigDecimal(decimal) {
|
||||
|
||||
actual companion object {
|
||||
actual val Zero =
|
||||
BigDecimal("0") // TODO: is this correct?
|
||||
actual val Zero = BigDecimal(0.0)
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue