formatNumber must have the second parameter when setting is in european number
I'd like to remove trailing 0 in decimal even the rounding is more than 0
eg:
accounting.formatNumber(2.57102, 2) //---> 2.57
accounting.formatNumber(2.1, 2) //---> 2.1 instead of 2.10
formatNumber must have the second parameter when setting is in european number I'd like to remove trailing 0 in decimal even the rounding is more than 0 eg: accounting.formatNumber(2.57102, 2) //---> 2.57 accounting.formatNumber(2.1, 2) //---> 2.1 instead of 2.10