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

floor

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

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

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