Rounds to a specific precision.
mathf.roundToPrecision(0.49999, 1) --> 0.5mathf.roundToPrecision(0.49999, 2) --> 0.5mathf.roundToPrecision(0.41199, 3) --> 0.412mathf.roundToPrecision(0.5555, 3) --> 0.556mathf.roundToPrecision(0.5555, 2) --> 0.56 Copy
mathf.roundToPrecision(0.49999, 1) --> 0.5mathf.roundToPrecision(0.49999, 2) --> 0.5mathf.roundToPrecision(0.41199, 3) --> 0.412mathf.roundToPrecision(0.5555, 3) --> 0.556mathf.roundToPrecision(0.5555, 2) --> 0.56
Rounds to a specific precision.