UltraNumericEditor does not localize numbers correctly compared to UltraMaskedEdit. I switched the region settings of the PC to German (Switzerland). Then - for testing puposes - I changed the decimal character from . to #. The thousands seperator is ' for Switzerland
UltraNumericEditor shows 12'345.67 thus ignoring the individuel decimal character while UltraMaskEdit correctly shows 12'345#67
Both controls have MaskInput / InputMask set to {LOC}nn.nnn,nn and no FormatString.
If for the UltraNumericEditor I set FormatString to ##.###,## the controls shows the correct decimal character (#) while not in edit mode. In edit mode still the point is used as decimal character.
We use Version 8.2.
I am not getting the same result that you get. I have attached a sample to this forum post which I would like to ask you to look at and see what I should to do bring about the behavior that you are getting. To what have you set the NumericType property of the UltraNumericEditor? I set it to Double. Why are you not setting a FormatString? I could not get that InputMask that you are using to work. It said it was incompatible with the NumericType of the UltraNumericEditor. I have included in the folder along with the project a screenshot showing the result that I get when I run my application. You will see that the decimal character "#" is showing in the UltraNumericEditor. Let me know what you think.
Thank you for the example which was helpful. The problem is related to the NumericType property. Set to Decimal your example has the same problem. If I set it to Double in my example the problem disappears.
InputMask: I am sorry, I switched the thousands separator and the decimal point in my message. The MaskInput property ist set to "{LOC}nn,nnn.nn".
FormatString: I have no problem setting the FormatString but it did not address the problem while in edit mode.
My conclusion is, that we can live with the situation. We will use NumericType.Double instead of Decimal.
Thank you for your support.
I'm glad you have resolved the issue. Let us know if there is anything else we can help you with.