$Cos
From UBot Studio
(Difference between revisions)
(Created page with " This function is an Extended Math function in the UBot Extended Library. This command calculates the cosine of a number. '''Number:''' The number being calculated. Can a...") |
|||
Line 2: | Line 2: | ||
This function is an [[Extended Math]] function in the UBot Extended Library. This command calculates the cosine of a number. | This function is an [[Extended Math]] function in the UBot Extended Library. This command calculates the cosine of a number. | ||
− | '''Number:''' The number being calculated. Can also be a variable, list item, table or the [[eval]] function. | + | '''Number:''' The number being calculated. Can also be a variable, list item, table cell or the [[eval]] function. |
== Example == | == Example == |
Latest revision as of 23:34, 10 June 2015
This function is an Extended Math function in the UBot Extended Library. This command calculates the cosine of a number.
Number: The number being calculated. Can also be a variable, list item, table cell or the eval function.
[edit] Example
alert($cos(10))
Running the command will run an alert that brings up the calculated cosine for the value 10, which is -0.83907152907.