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
1120
how to just format double number
posted

I am using the following to format the double number,  however, my integer ID field become  8,771.00.
how to just format Double number?
 
<Style TargetType="{x:Type igEditors:XamNumericEditor}">
                    <Setter Property="Mask" Value="{}{double:-15.2:c}" />
        </Style>

  • 2426
    posted

    Hello sluo2008,

    It is not clear what exact format you are expecting. You can see this documentation to see the different mask options that are available. If you still cannot achieve what you want, please post examples of user input and expected output. Thank you.