-
Notifications
You must be signed in to change notification settings - Fork 349
round
Toon edited this page Jan 5, 2026
·
2 revisions
number round(<number> num, <int> numDecimalPlaces)
Note: int is a whole number
Rounds number num to numDecimalPlaces decimal places and returns the result.
-- Note: This is just a snippet
["Function"] = function(args, speaker)
print(round(3.141592653, 2)) --> 3.14
endInfinite Yield
Plugins
Core Functions