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

floor

@JvmName("floorFloat") fun floor(x: Attribute<Float>): Attribute<Float>
fun floor(x: Attribute<Double>): Attribute<Double>

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

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

This is simply a convenience function.

See Also

kotlin.math.floor