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
How to remove dot?
posted

Hello,

I use a XamNumericEditor, set Mask to "{double:-12.5}". I want to input both integers and doubles. When I input 12 in the editor, and make it lose focus, it appears "12." in the editor, number "12" followed by a dot. How can I hide the dot for integer after it loses focus?

 

Regards

Parents
No Data
Reply
  • 2070
    posted

    Hi jifangeva,

     

    If you are using 11.2 or newer version there's a new XamNumericInput control which has TrimFractionalZeros property which you can set to eliminate non-significant zeros in the fractional part as well as eliminate the '.' when you leave the editor.

     

    Hope this helps,

    Sandip

Children
No Data