The + Command
\begin{align} {(2^{\lfloor{\log_{2}(x)}\rfloor})}{(3^{\lfloor{\log_{3}(x)}\rfloor})}{(5^{\lfloor{\log_{5}(x)}\rfloor})}{(7^{\lfloor{\log_{7}(x)}\rfloor})}{(11^{\lfloor{\log_{11}(x)}\rfloor})}...{(p^{\lfloor{\log_{p}(x)}\rfloor})} \end{align}

Command Summary

Returns the sum of two numbers, or joins two strings together.

Command Syntax

value1 + value2

string1 + string2

Menu Location

Press [+]

Calculator Compatibility


Token Size

1 byte

The + (add) operator takes two numbers, variables, or expressions and adds their values together, thus returning a single new value. The + operator appears lower in the order of operations than both * and /, so if those appear in an expression, they will be executed first. In addition, the - operator has the same order of operations as +, so the calculator simply executes them left to right in the order that they appear.




Advanced Uses

The + operator is overloaded (meaning it has more than one function) by the calculator, and it can be used to put strings together. The strings can consist of whatever combination of text and characters that you want, but it unfortunately does not allow you to join a string to a number (i.e., "Hello5" cannot be made with "Hello"+5).



Related Commands


Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License