2
Answers

decimal values

Rajeev Kumar

Rajeev Kumar

12y
917
1
i got a error when im calculating values of two textboxs the values is 23.567322
how can i set it   24  

 please give me solution 
Answers (2)
0
Roei Bar

Roei Bar

NA 7.8k 0 15y

hey, i would recommend you to change your work, to work with CheckedListBox
you will have a CheckedItems Property in this, and the Value is the text in it, and if you want complex Object with multiple properties, you can have an object, and on the build just do an Override on the ToString for the displayed item Text and once you run all all Checked Items, you will have the ItemId, and by ItemId you can get any property in the ListView