Documentation / dataflow-async / com.femastudios.dataflow.async.extensions / kotlin.Byte / div
Go to reference

div

@JvmName("divDouble") operator fun Byte.div(other: Attribute<Double>): Attribute<Double>
@JvmName("divFloat") operator fun Byte.div(other: Attribute<Float>): Attribute<Float>
@JvmName("divInt") operator fun Byte.div(other: Attribute<Int>): Attribute<Int>
@JvmName("divLong") operator fun Byte.div(other: Attribute<Long>): Attribute<Long>
@JvmName("divShort") operator fun Byte.div(other: Attribute<Short>): Attribute<Int>
operator fun Byte.div(other: Attribute<Byte>): Attribute<Int>

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

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

This is simply a convenience function.

See Also

kotlin.Byte.div