diff --git a/erpnext/selling/doctype/sales_common/sales_common.js b/erpnext/selling/doctype/sales_common/sales_common.js index 3c3e891cd0..bd7ca202a1 100644 --- a/erpnext/selling/doctype/sales_common/sales_common.js +++ b/erpnext/selling/doctype/sales_common/sales_common.js @@ -252,7 +252,7 @@ cur_frm.cscript.calc_doc_values = function(doc, cdt, cdn, tname, fname, other_fn //console.log("Other Charges: " + other_charges_total); doc.net_total = net_total_incl > net_total ? flt(net_total_incl) : flt(net_total); doc.other_charges_total = flt(other_charges_total); - doc.grand_total = flt((flt(net_total) + flt(other_charges_total)).toFixed(2)); + doc.grand_total = flt(flt(net_total) + flt(other_charges_total)); doc.rounded_total = Math.round(doc.grand_total); doc.grand_total_export = flt(flt(doc.grand_total) / flt(doc.conversion_rate)); doc.rounded_total_export = Math.round(doc.grand_total_export);