mirror of
https://github.com/luau-lang/rfcs.git
synced 2025-04-03 18:10:56 +01:00
Update explicit-accuracy-for-math-round.md
This commit is contained in:
parent
de38f662ca
commit
fb0d050272
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
```
|
||||
|
|
Loading…
Add table
Reference in a new issue