256
edits
Line 43: | Line 43: | ||
SigMath supports some basic operators. | SigMath supports some basic operators. | ||
==== Arithmetic Operators ==== | |||
;+ | ;+ | ||
:Adds two numbers. If one of the arguments are a string the second argument will be appnended to the first. | :Adds two numbers. If one of the arguments are a string the second argument will be appnended to the first. | ||
Line 53: | Line 53: | ||
:Divides the first argument with the second. | :Divides the first argument with the second. | ||
==== Comparison Operators ==== | |||
;< | ;< | ||
:Checks if the first argument is smaller than the second. If so ''true'' is returned. | :Checks if the first argument is smaller than the second. If so ''true'' is returned. | ||
Line 67: | Line 67: | ||
:Checks if the first argument is not equal to the second. If so ''true'' is returned. | :Checks if the first argument is not equal to the second. If so ''true'' is returned. | ||
==== Logic Operators ==== | |||
;|| | ;|| | ||
:Checks if the first argument or the second argument are true. If so ''true'' is returned. | :Checks if the first argument or the second argument are true. If so ''true'' is returned. |
edits