Use Float.roundToInt() instead of java.lang.Math.round

Proprietary

Math.round(f: Float): Int becomes f.roundToInt() as a multiplatform Kotlin extension.

org.openrewrite.kotlin.migrate.UseFloatRoundToInt$KtRecipe
mod run . --recipe='org.openrewrite.kotlin.migrate.UseFloatRoundToInt$KtRecipe'

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.