Log in | Back to darenet.org

C/calc

(Created page with '{{Related commands|8BALL<br />DICE<br />FML<br />GOOGLE<br />GUESS<br />[[ChanServ/in…')
m (moved ChanServ/calc to C/calc)
 
(3 intermediate revisions not shown)
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/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 6: Line 6:
===Examples===
===Examples===
-
{| class="srvcscmd" width="90%" 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.
|-
|-

Current 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]