The goal here is to set all the .class values (.multiple) with the preset languages and being able to modify things like decimal places or remove the currency symbol.
This works only for one class.
new AutoNumeric('.num-format').french().update({decimalPlaces: 0});
or this.
new AutoNumeric.multiple('.num-format', 'French');
new AutoNumeric.multiple('.num-format', 'French').update({decimalPlaces: 0});
This WILL work with all the classes BUT I cant figure out how to do things like set the decimal places?
new AutoNumeric.multiple( '.num-format', AutoNumeric.getPredefinedOptions().French );
I have pretty much tried all the options imaginable.
Thanks.