I'm using XamNumericEditor, it accepts max value of xxx,xxx,xxx
but I need this to accept 18 digits, what can I do for this?
My code is,
this.Mask = string.Format("{{double:-{0}.{1}}}", 18, 8);
Thanks in advance
Can you provide more information about what specifically is not working? I do not see any problem when setting the mask and valuetype as such.
Thanks for your response.I tried the same,
this.ValueType = typeof(decimal);this.Mask = string.Format("{{double:-{0}.{1}}}", 18, 8);
but still i dont think its working, Is the way what I did is right?
While the control will accept that mask and provide 18 decimal characters and 8 fraction characters, I don't think the double structure can maintain that many digits of precision. If you want to utilize that full range then perhaps you should set the ValueType to decimal.