$Round

From UBot Studio
(Difference between revisions)
Jump to: navigation, search
(Created page with " 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 va...")
 
 
Line 10: Line 10:
  
  
Running the command will run an alert that brings up the calculated sine for the value 66.479, which is 66.48.
+
Running the command will run an alert that brings up the rounded value 66.479, which is 66.48.
  
 
[[File:round.jpg]]
 
[[File:round.jpg]]

Latest revision as of 14:41, 24 September 2016

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.

[edit] Example

alert($round(66.479))


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

Round.jpg

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox