This is a migrated thread and some comments may be shown as answers.

Why have the Numbers changed

1 Answer 70 Views
PropertyGrid
This is a migrated thread and some comments may be shown as answers.
Steve
Top achievements
Rank 1
Veteran
Steve asked on 03 Aug 2020, 08:45 AM
The value of attribute X is 0.225, but when I click on attribute X it changes to 0.23, why is that?How to amend?

1 Answer, 1 is accepted

Sort by
0
Accepted
Dess | Tech Support Engineer, Principal
Telerik team
answered on 03 Aug 2020, 09:23 AM
Hello, Steve,

By default, the editor in RadPropertyGrid shows two decimal places. That is why the value gets rounded when entering edit mode. 

We already have a similar issue logged in our feedback portal. You can track its progress, subscribe for status changes and add your comments on the following link: https://feedback.telerik.com/winforms/1369727-fix-radpropertygrid-propertygridspineditor-automatically-rounds-decimal-values-to-2-decimal-places-no-matter-the-basespineditorelement-decimalplaces-property 

Feel free to use the suggested workaround. In case you need to convert the code to C#, the free online Telerik Code Converter is quite useful about it: https://converter.telerik.com/ 

I hope this information helps. If you need any further assistance please don't hesitate to contact me. 

Regards,
Dess | Tech Support Engineer, Sr.
Progress Telerik

Tags
PropertyGrid
Asked by
Steve
Top achievements
Rank 1
Veteran
Answers by
Dess | Tech Support Engineer, Principal
Telerik team
Share this question
or