It's possible to define variables which caracter to use for the group and decimal separator, currency symbol (position left/right) and the number of decimals.
Based on a version from: André Vieira
Features:
JavaScript fix for correct value update