You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'am using german locale on my machine, and in german we use a comma instead of a point as decimal separator (unfortunately this is a common issue). The test against " 0.00" (with dot) fails due to the actual string is " 0,00" (with comma).
You can fix this by passing a explicit locale that is using a dot as decimal separator:
The
PercentageReplacer
executesI'am using german locale on my machine, and in german we use a comma instead of a point as decimal separator (unfortunately this is a common issue). The test against
" 0.00"
(with dot) fails due to the actual string is" 0,00"
(with comma).You can fix this by passing a explicit locale that is using a dot as decimal separator:
For more details please have a look on SO: https://stackoverflow.com/questions/5236056/force-point-as-decimal-separator-in-java
The text was updated successfully, but these errors were encountered: