Project

General

Profile

Bug #69807

Updated by Björn Jacob over 8 years ago

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 @34567890@ into 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: 

 <pre> 
 <code> 
 temp.filterCurrency = currency 
 temp.filterCurrency { 
     # default: . 
     decimalPoint = , 
     # default: , 
     thousandSeparator = . 
 } 
 </code> 
 </pre> 

 If the default configuration of this filter is used the second step (@34,57@) is not happening :) but the final result is @34.00@.

Back