hi-calc-pro
v1.0.1
Published
A lightweight plugin for basic math operations
Downloads
8
Readme
CalcPro
CalcPro is a calculator that can perform basic arithmetic operations and also solve algebraic equations.
Features:
- Basic arithmetic operations: addition, subtraction, multiplication, and division.
- Algebraic equation solver: can solve equations of the form ax + b = 0, ax^2 + bx + c = 0, and ax^3 + bx^2 + cx + d = 0.
Installation:
- Clone the repository using the command
git clone https://github.com/your-username/calcpro.git
. Replaceyour-username
with your GitHub username.
Change-log:
- Version 1.0: Initial release with basic arithmetic operations and algebraic equation solver.
Usage:
import { HiCalcPro, calc } from "hi-calc-pro";
const res = HiCalcPro.create().add(0.1, 0.2).value // Output: 0.3
const res1 = calc().add(0.1, 0.2).value // Output: 0.3