banglamath
v1.0.3
Published
This package converts UNICODE bangle string to a number and vice versa. This also contains some basic math operations like sum,sub,multi and div
Downloads
2
Maintainers
Readme
const banglaMath = require("banglaMath");
let numArray = ["৯৬২১৬৬", "২১৬", "৯৬"];
let numArrayTwo = ["২১৬", "৯৬"];
let numArrayOne = ["৬"];
let numberOne = banglaMath.toNumber("৯৬২১৬৬");
let bangla = banglaMath.toBangla(121);
let sum = banglaMath.sum(numArray);
let sub = banglaMath.sub(numArrayTwo);
let multi = banglaMath.multi(numArrayTwo);
let div = banglaMath.div(numArrayTwo);