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

Validation fail in double read with comma

0 Answers 91 Views
PropertyGrid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
David
Top achievements
Rank 1
David asked on 27 Jul 2012, 07:44 AM
Hello, i have a item with a double value, if the user set "house", a validation message raise, but if the user set, 12,99 instead 12.99, when a read the item and cast to double i get: 1299.0,

I need raise a error "No comma allowed", by example, or control this situation.

Regard.
Tags
PropertyGrid
Asked by
David
Top achievements
Rank 1
Share this question
or