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
375
UltraMaskedEdit - Rounding numbers
posted

Hi,

I have two screens.  One is displaying data in a grid and the other one is a dialog for data entry and contains an UltraMaskedEdit control.  Both are bound to a field that is of type Double.  I need to round to the nearest whole number so 66.6 should display 67. 

If I specify {double:8.0} in the InputMask property of my column in the grid, I'm getting 67 (good).  If I specify {double:8.0} in the InputMask property of the ultramaskededit control, I'm getting 66 (bad).  Why aren't the two consistent ?  Is there something else that I must set on the UltraMaskedEdit ?

Thanks

Erwin