combmag-zz / jquery-formatcurrency

Automatically exported from code.google.com/p/jquery-formatcurrency
GNU Lesser General Public License v3.0
2 stars 0 forks source link

Space after using de-DE without currency symbol #25

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hello,
i use format like

$.formatCurrency.regions['de-DE'] = {
                symbol: '',
                positiveFormat: '%n %s',
                negativeFormat: '-%n %s',
                decimalSymbol: ',',
                digitGroupSymbol: '.',
                groupDigits: false
            };

It works fine ... but i get a space at last character in my inputs.
How can i prevent this ?
Thanks
Jürgen

Original issue reported on code.google.com by M.Juerge...@gmail.com on 27 May 2011 at 8:17

GoogleCodeExporter commented 9 years ago
Hello, you need to remove the extra spaces:
edit this...
positiveFormat: '%n %s',
negativeFormat: '-%n %s',

in...
positiveFormat: '%n%s',
negativeFormat: '-%n%s',

Original comment by marco.sa...@gmail.com on 30 Jun 2014 at 1:53