The JSCalc Script Helper consists of pre-programmed buttons that will help you generate codes in JavaScript.
There are buttons for mathematical operators, conditional operators, and also custom inputs.
Mathematical Operators
The following table describes the function of each Mathematical Operator button.
Buttons | Description |
+ | Calculates addition. |
– | Calculates subtraction. |
* | Calculates multiplication (×). |
/ | Calculates division (÷). |
() | Brackets. |
^ | Calculates the value to the power of an exponent. |
sin | Calculates the sine of a value. |
cos | Calculates the cosine of a value. |
tan | Calculates the tangent of a value. |
asin | Calculates the inverse sine of a value. |
acos | Calculates the inverse cosine of a value. |
atan | Calculates the inverse tangent of a value. |
sqrt | Calculates the square root of a value. |
log | Calculates the logarithm of a value. |
exp | Calculates the exponent of a value. |
pi | Returns PI (3.142) |
abs | Calculates the absolute value of a number. |
ceil | Rounds a value towards plus infinity. |
floor | Rounds a value towards minus infinity. |
round | Rounds a value towards the nearest integer. |