Update explicit-accuracy-for-math-round.md

This commit is contained in:
T045TN1NJ4 2025-03-08 15:28:12 -05:00 committed by GitHub
parent de38f662ca
commit fb0d050272
Signed by: DevComp
GPG key ID: B5690EEEBB952194

View file

@ -1,7 +1,7 @@
# Explicit degree of accuracy input for math.round
## Summary
This RFC proposes introducing a second parameter to `math.round` to allow users to declare a degree of accuracy to round numbers to.
This RFC proposes introducing a second parameter to `math.round` to allow users to specify a degree of accuracy to round numbers to.
```luau
print( math.round(3.1415, 2) ) -- Output: 3.14
```