Skip to content
The Mark edited this page Jan 25, 2023 · 6 revisions

TheMath

Lib with function to execute operations arithmetics, and you can resolve string operation with resolve.

Installation

You can install with npm:

  npm install the-math

You can install with yarn:

  yarn add the-math

Features

  • chain - Solve a chain of complex operations.
  • subtract - Solve subtraction between 2 numbers.
  • Sum - Solve sum between 2 numbers.
  • divide - Solve division between 2 numbers.
  • multiply - Solve multiplication between 2 numbers.
  • resolve - Solve a string operation arithmetic.
Clone this wiki locally