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
80
Decimals in edit mode.
posted

Hi All,

Here is my problem. I have a UltraDataGrid that is bound to a datasource (that gets populated from DB). One of the columns is of type Decimal. I need to format the value to only have 2 decimals. (No problem there just set the format for the column). My problem is that when the cell goes into edit more it show a lot more decimals. It goes from 2.45 to 2.4499999999.. 

So the question how can I change the display format in edit mode so it only shows 2 decimals (or possible 4 since that is used in the back end)

Thanks