The ViewModel wrongly assumed that non-breaking spaces were only used between the value and the symbol. It's not the case of all locales using non-breaking spaces as a thousand delimiter (French for example). When it was the case, the function only replaced the first thousand delimiter found and kept the extra space at the end of the string, generating 2 issues: Extra space at the end: #240 Bad formatting of the number: #232 Description of the changes: Replace currencyResult.find(L'\u00a0') by a regex only removing spaces at the end of the string. Fixes #240 and #232 |
||
---|---|---|
.. | ||
build | ||
CalcManager | ||
Calculator | ||
CalculatorUnitTests | ||
CalcViewModel | ||
Calculator.sln | ||
nuget.config | ||
Settings.XamlStyler |