# Basic Expressions with Direct Calculation 1 + 1 = ? = ? # Variable Assignment with Explicit Value Retrieval a = 3 a: ? # Simultaneous Assignment And Results c = a + 3 = ? # 2> spaces as alt method for Explicit Value Retrieval c = ?After calculation, you will get this output:
# Basic Expressions with Direct Calculation 1 + 1 = 2 = 2 # Variable Assignment with Explicit Value Retrieval a = 3 a: 3 # Simultaneous Assignment And Results c = a + 3 = 6 # 2> spaces as alt method for Explicit Value Retrieval c = 6
a = 5
.=
. For example: a * 2 =
. The result will automatically be displayed next to the expression.a = b = 2 + 3 =
.=
.=
by itself will imply displaying results from previous calcuation.1 / 0 = Error: Division by zero
.For a comprehensive guide, more detailed instructions and source code, check out the full README. Additionally, for details on supported mathematical syntax and operations, refer to the math.js documentation.
For developers, there is an NPM package located QuickMathJS NPM Package so you can integrate this in your projects like a text editor extention.
quickmathjs.com. Copyright © 2023 Brian Khuu • powered by math.js.