c# - How to validate negative string number -
this question has answer here:
- how can check if string number? 24 answers
i'm doing c# wpf application. may know how validate string value? example "0.00" or "-1.00",etc?
because both of them return string retrieve sap, there anyway check?
sorry i'm still new c# , not familiar function have in c#.
i assume want check if number negative number?
double number = 0; if(double.tryparse(mystring,out number)){ if (number > 0) \\do }
Comments
Post a Comment