round - EdgeIY/infiniteyield GitHub Wiki
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
end