I'm using autonumeric.js
to generate currency number format, the problem is autonumeric's generating 2 more zeros after comma. e.g 40560000 became 40.560.000,00
I want to remove the last 2 zeros, so instead of 40.560.000,00 the result of autonumeric will be 40.560.000
This is my script :
$('td.sub_total').autoNumeric('init', {aSep: '.', aDec: ','});
$('td.vat').autoNumeric('init', {aSep: '.', aDec: ','});
$('td.total').autoNumeric('init', {aSep: '.', aDec: ','});
Any help will be much appreciated, thank you.