Log in | Back to darenet.org

C/calc

Line 1: Line 1:
-
{{Related commands|[[ChanServ/8ball|8BALL]]<br />[[ChanServ/dice|DICE]]<br />[[ChanServ/fml|FML]]<br />[[ChanServ/google|GOOGLE]]<br />[[ChanServ/guess|GUESS]]<br />[[ChanServ/inspire|INSPIRE]]<br />[[ChanServ/isgd|ISGD]]<br />[[ChanServ/isitdown|ISITDOWN]]<br />[[ChanServ/pastebin|PASTEBIN]]<br />[[ChanServ/twitter|TWITTER]]<br />[[ChanServ/weather|WEATHER]]}}<span class="cmdsyn">CALC <expression></span>
+
{{Related commands|[[C/8ball|8BALL]]<br />[[C/dice|DICE]]<br />[[C/fml|FML]]<br />[[C/google|GOOGLE]]<br />[[C/guess|GUESS]]<br />[[C/inspire|INSPIRE]]<br />[[C/isgd|ISGD]]<br />[[C/isitdown|ISITDOWN]]<br />[[C/pastebin|PASTEBIN]]<br />[[C/twitter|TWITTER]]<br />[[C/weather|WEATHER]]}}<span class="cmdsyn">CALC <expression></span>
Calculates mathematical expression, and returns the answer. It supports addition (+), subtraction (-), multiplication (*), division (/), exponentiation (^), and many other math operations, such as sqrt[], tan[], etc.
Calculates mathematical expression, and returns the answer. It supports addition (+), subtraction (-), multiplication (*), division (/), exponentiation (^), and many other math operations, such as sqrt[], tan[], etc.
Line 7: Line 7:
===Examples===
===Examples===
{| class="srvcscmd" width="40%" style="font-size: 90%;"
{| class="srvcscmd" width="40%" style="font-size: 90%;"
-
| /msg ChanServ CALC sqrt [5]
+
| /msg C CALC sqrt [5]
| Calculates the square root of 5.
| Calculates the square root of 5.
|-
|-

Revision as of 17:06, 11 October 2012

Related Commands
8BALL
DICE
FML
GOOGLE
GUESS
INSPIRE
ISGD
ISITDOWN
PASTEBIN
TWITTER
WEATHER

CALC <expression>

Calculates mathematical expression, and returns the answer. It supports addition (+), subtraction (-), multiplication (*), division (/), exponentiation (^), and many other math operations, such as sqrt[], tan[], etc.

Note, when using this command in-channel, if you do not have access in the channel, the answer may be reported privately instead of in the channel

Examples

/msg C CALC sqrt [5] Calculates the square root of 5.


[Go Back]