Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
390
Hide following zeros
posted

Hello,

I use a XamNumericEditor, set Mask to "{double:-12.5}". When I set Value property to 12.345, the editor shows "12.34500".  I do not want the editor show the following zeros. I want it show "12.345" when value is 12.345, and "12" when value is 12. How can I make this happen?

Regards