Santhosh Raja
Santhosh Raja

Reputation: 39

Pass Decimal value in NumericUpdown in C# for windows application

nup_Test

this is my numericupdown box , this accepts Integer value like 100,200 etc but i need to get the value like 12.45 etc .. Please help me how to obtain this Result. Im working on C# application in visual studio 2008.

Upvotes: 0

Views: 895

Answers (1)

Vladyslav
Vladyslav

Reputation: 786

NumericUpDown control has DecimalPlaces property as well as Increment. From your example I can assume that you want DecimalPlaces to be equal 2 and Increment to be equal 0,05.

Upvotes: 2

Related Questions