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

divideToIntegralValue

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

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

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