jdk7Main.common.extensions.BigDecimal.jvm.kt Maven / Gradle / Ivy
package com.github.fluidsonic.fluid.stdlib
import java.math.*
val BigDecimal.isInteger
get() = scale() <= 0 || signum() == 0 || remainder(BigDecimal.ONE) == BigDecimal.ZERO
val BigDecimal.isZero
get() = compareTo(BigDecimal.ZERO) == 0
© 2015 - 2025 Weber Informatics LLC | Privacy Policy