How To Use Gst Calculator

var _ = require(‘underscore’);

var getTaxAmount = function(amount, rate) {
if (!_.isNumber(amount) || !_.isNumber(rate)) {
return NaN;
}
var taxAmount = amount * rate / 100;
return Math.round(taxAmount * 100) / 100;
};

var getTaxInclusiveAmount = function(amount, rate) {
if (!_.isNumber(amount) || !_.isNumber(rate)) {
return NaN;
}
var taxInclusiveAmount = amount + (amount * rate / 100);\n return Math.round(taxInclusiveAmount * 100) / 100;\n};\n\nvar getTaxExclusiveAmount = function(amount, rate) {\n if (!_.isNumber(amount) || !_.isNumber(rate)) {\n return NaN;\n }\n var taxExclusiveAmount = amount / (1 + rate / 100);\n return Math.round(taxExclusiveAmount * 100) / 100;\n};\n\nvar getTaxRate = function(amount, rate) {\n if (!_.isNumber(amount) || !_.isNumber(rate)) {\n return NaN;\n }\n var taxRate = (rate / amount) * 100;\n return Math.round(taxRate * 100) / 100;\n};\n\nmodule.exports = {\n getTaxAmount: getTaxAmount,\n getTaxInclusiveAmount: getTaxInclusiveAmount,\n getTaxExclusiveAmount: getTaxExclusiveAmount,\n getTaxRate: getTaxRate\n};GST Calculator | Simple GST Calculations Online | ClearTax\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n

\n\n\n\n\n

\n

\n

\n

\"GSTCalculate GST Amount\n Easily

\n

Calculate GSTinclusive & exclusive amounts, find tax rates, and understand GST on services and goods\n easily. Accurate and fast GST calculation tool.

\n

\n

\n

\n

\n

\n

\n

\n \n \n

\n

\n \n \n

\n

\n

\n \n \n

\n

\n

\n\n

\n

\n

\n

Leave a Comment