split-add
v1.0.5
Published
a package for performing incremental calculations on results
Downloads
4
Readme
This Package is used to perform incremental calculations on results
How to use
# install the package
npm install split-add
Example
// import the package
import { splitAdd, splitMultiply } from "split-add";
// call the function
number = 1234
const resultAdd = splitAdd(number);
const resultMultiply = splitMultiply(number)
console.log(resultAdd); // 10
console.log(resultAdd); // 24
Output
10;
24;