1.0.8 • Published 4 years ago
bd_vat-calculator v1.0.8
this is vat calculator npm package for BD
you can easily calculate your e-commerce shops items price and vat and total ammount using this library
usage
const cal = require("bd_vat-calculator");
var result = cal.vatCalculator([500, 1500, 1000]);
console.log(result);
{PreviousItemsPrices: 500, 1500, 1000 , VatOnEachItem: '65.22', '195.65', '130.43' , TotalVat: '391.30', TotalSumEachItems: 565.22, 1695.65, 1130.43 , All: 3391.3 }