Class MathHelper
java.lang.Object
ch.tocco.nice2.optional.qualification.impl.drools.facts.MathHelper
helper class to easily round values to a given decimal in promotion rules
-
Method Summary
Modifier and TypeMethodDescriptionstatic @Nullable BigDecimal
round
(@Nullable BigDecimal value, Double rounding, MathContext mctx)
-
Method Details
-
round
@Nullable public static @Nullable BigDecimal round(@Nullable @Nullable BigDecimal value, Double rounding, MathContext mctx)
-