Hi,
I have some textboxes in windows Form in C#. In those textboxes, I am filling double (63.00000) values automatically from database. but I want to limit decimal places to 2 (63.00). can any one help me in that.
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
saurabh mittalPosted Apr 3, 2014, 10:23 AM
If u want to limit it with 2 places than change field's datatype AS decimal(18,2) in
sql server.here 18 is the limit before decimal and 2 is the limit after decimal.
thanks
VulpesPosted Apr 3, 2014, 10:07 AM