$Round

From UBot Playground
Jump to: navigation, search

This function is an Extended Math function in the UBot Extended Library. This command returns a rounded integer.

Number: The number being rounded. Can also be a variable, list item, table cell or the eval function.

Example[edit]

alert($round(66.479))


Running the command will run an alert that brings up the calculated sine for the value 66.479, which is 66.48.

Round.jpg