Documentation / dataflow-async / com.femastudios.dataflow.async.extensions / divideToIntegralValue
Go to reference

divideToIntegralValue

fun Attribute<BigDecimal>.divideToIntegralValue(divisor: Attribute<BigDecimal>): Attribute<BigDecimal>
fun Attribute<BigDecimal>.divideToIntegralValue(divisor: Attribute<BigDecimal>, mc: Attribute<MathContext>): Attribute<BigDecimal>
fun Attribute<BigDecimal>.divideToIntegralValue(divisor: Attribute<BigDecimal>, mc: MathContext): Attribute<BigDecimal>
fun Attribute<BigDecimal>.divideToIntegralValue(divisor: BigDecimal): Attribute<BigDecimal>
fun Attribute<BigDecimal>.divideToIntegralValue(divisor: BigDecimal, mc: Attribute<MathContext>): Attribute<BigDecimal>
fun Attribute<BigDecimal>.divideToIntegralValue(divisor: BigDecimal, mc: MathContext): Attribute<BigDecimal>

Same as divideToIntegralValue, but accepts Attribute and returns a new Attribute.

Calling this function is equivalent to use transform and calling divideToIntegralValue in the transformation function.

This is simply a convenience function.

See Also

java.math.BigDecimal.divideToIntegralValue