Skip to content

Calculator

Sahri Riza Umami edited this page Jul 10, 2016 · 2 revisions

Calculate math expressions with mathjs API.

math.js is an extensive math library for JavaScript and Node.js. It features a flexible expression parser and offers an integrated solution to work with numbers, big numbers, complex numbers, units, and matrices. Powerful and easy to use.

Command Description
!calc [expression] Evaluates the expression and sends the result.

Example:
!calc 2016-1945