Open spidergears opened 8 years ago
Support grouping of number in 'Indian' and 'Arabic' system Support custom groupSize as well
Defaults to Arabic i.e i groups of 3 accounting.formatNumber(676854399.95678567459, 3, ",", ".") => "676,854,399.957"
accounting.formatNumber(676854399.95678567459, 3, ",", ".", "Indian") => "67,68,54,399.957" accounting.formatNumber(676854399.95678567459, 3, ",", ".", "Arabic") => "676,854,399.957" Custom grouping accounting.formatNumber(676854399.95678567459, 3, ",", ".", "4") => "6,7685,4399.957" accounting.formatNumber(676854399.95678567459, 3, ",", ".", 4) => "6,7685,4399.957"
113
Support grouping of number in 'Indian' and 'Arabic' system Support custom groupSize as well
Defaults to Arabic i.e i groups of 3 accounting.formatNumber(676854399.95678567459, 3, ",", ".") => "676,854,399.957"
accounting.formatNumber(676854399.95678567459, 3, ",", ".", "Indian") => "67,68,54,399.957" accounting.formatNumber(676854399.95678567459, 3, ",", ".", "Arabic") => "676,854,399.957" Custom grouping accounting.formatNumber(676854399.95678567459, 3, ",", ".", "4") => "6,7685,4399.957" accounting.formatNumber(676854399.95678567459, 3, ",", ".", 4) => "6,7685,4399.957"