Difference between revisions of "!calc"

From SimpleFlips' Server Wiki
Jump to navigation Jump to search
(Created page with "The !calc (or !calculate) command calculates a string-based function. == Operations == +, -, *, /<br> ^, %, sqrt<br> <nowiki>==</nowiki>, >, <, >=, <=, !=<br> and (&&), or (|...")
 
m
 
Line 16: Line 16:
 
== Other variables ==
 
== Other variables ==
 
ans
 
ans
 +
[[Category:IngoBot Commands]]

Latest revision as of 13:08, 1 October 2020

The !calc (or !calculate) command calculates a string-based function.

Operations[edit | edit source]

+, -, *, /
^, %, sqrt
==, >, <, >=, <=, !=
and (&&), or (||), not
nand, nor, xor, xnor
sin, cos, tan, sinh, cosh, tanh, asin, acos, atan
log, ln
abs
fact (!)
&

Constants[edit | edit source]

pi, e

Other variables[edit | edit source]

ans