#69807EXT:form - currency filter not working correctly
Description
The currency filter is not working as expected. To reproduce the issue do the following:
- have a form with a confirmation page or a field which is required (to make sure form is not submitted but validated)
- enter
34567890into a TEXTLINE or TEXTAREA element - submit form
- new value is as expected
34.567.890,00 - submit form
- new value is
34,57 - submit form
- new value is
34,00
The filter is configured as follows:
temp.filterCurrency = currency
temp.filterCurrency {
# default: .
decimalPoint = ,
# default: ,
thousandSeparator = .
}
If the default configuration of this filter is used the second step (34,57) is not happening :) but the final result is 34.00.