WoW:USERAPI round: Difference between revisions
Jump to navigation
Jump to search
m
→Code: Previous "correction" is incorrect. Check the talk page.
(→Code) |
m (→Code: Previous "correction" is incorrect. Check the talk page.) |
||
| Line 20: | Line 20: | ||
<pre>function round(number, decimals) | <pre>function round(number, decimals) | ||
return (("%%.%df"):format(decimals)):format(number) | return (("%%.%df"):format(decimals)):format(number) | ||
end</pre> | end</pre> | ||