Use kotlin.math.PI instead of java.lang.Math.PI
ProprietaryPrefer the multiplatform-friendly kotlin.math.PI over the JVM-only Math.PI.
org. openrewrite. kotlin. migrate. UseKotlinMathPi$KtRecipemod run . --recipe= 'org. openrewrite. kotlin. migrate. UseKotlinMathPi$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.