Demo to preview the settings
Introduction
This plugin allows users to evaluate mathematical expressions locally, eliminating the need for external API calls. Ideal for handling large calculations efficiently and securely within the user's environment.
How to setup
Place the pluginโs element โMath.jsโ on the page, fill its field and all done you can use it.
Plugin element โMath.jsโ
Field
Title | Description | Type |
Expression | Expression to evaluate. See http://mathjs.org/docs/expressions/index.html
The expression for the Math.js library refers to a mathematical formula or equation that can be evaluated using Math.js functions and syntax, enabling complex mathematical computations in JavaScript applications. | Text |
Returned Values
Title | Description | Type |
Result (Number) | Expression result as a number | Number |
Result (Text) | Expression result as a text | Text |
Error string | If an error occurs during evaluation in that value is stored the error message. | Text |
Event
Title | Description |
error occurred | Triggered if an error occurs during evaluation |
Element Use Example
Changelogs
Update: 13.09.21 - Version: 1.2.2
- Add deprecation notice to element properties
Update: 13.09.21 - Version: 1.2.1
- Add deprecation notice
Update: 24.02.18 - Version: 1.2.0
- Catch errors, ability to trigger event on error
Update: 24.02.18 - Version: 1.1.0
- Fix error when no expression provided
Update: 30.01.18 - Version: 1.0.0
- Initial release