Completed
Last Updated: 10 Oct 2018 10:40 by ADMIN
ADMIN
Stefan
Created on: 03 Oct 2018 09:28
Category: MaskedInput
Type: Bug Report
0
MaskedInput: Wrong value in CurrencyInput when typing more than 3 digits in Culture whose CurrencyDecimalSeparator/NumberDecimalSeparator and CurrencyGroupSeparator/NumberGroupSeparator have different
For example the following culture:

 this.currency.Culture = new System.Globalization.CultureInfo("prs-AF"); has     

this.currency.Culture.NumberFormat

{System.Globalization.NumberFormatInfo}
    CurrencyDecimalDigits: 2
===>  CurrencyDecimalSeparator: "."
===>  CurrencyGroupSeparator: ","
    CurrencyGroupSizes: {int[1]}
    CurrencyNegativePattern: 3
    CurrencyPositivePattern: 0
    CurrencySymbol: "؋"
    DigitSubstitution: NativeNational
    IsReadOnly: false
    NaNSymbol: "ناعدد"
    NativeDigits: {string[10]}
    NegativeInfinitySymbol: "-∞"
    NegativeSign: "-"
    NumberDecimalDigits: 2
===>  NumberDecimalSeparator: ","
===>  NumberGroupSeparator: "."
    NumberGroupSizes: {int[1]}
    NumberNegativePattern: 3
    PerMilleSymbol: "‰"
    PercentDecimalDigits: 2
    PercentDecimalSeparator: ","
    PercentGroupSeparator: "."
    PercentGroupSizes: {int[1]}
    PercentNegativePattern: 1
    PercentPositivePattern: 1
    PercentSymbol: "%"
    PositiveInfinitySymbol: "∞"
    PositiveSign: "+"

Typing 12345 in the control produces Value 123 which is wrong. Parsing becomes wrong after the group separator kicks in.
1 comment
ADMIN
Ralitsa
Posted on: 10 Oct 2018 10:40
Hi,

The fix will be available in our next official version – R3 2018 SP1, scheduled for 17-th October 2018 (Wednesday).

Best regards,
Ralitsa Kumanova