Answer to Question #74703 in C# for Kendra Davis

Question #74703
Does anyone know how to write a code that allows the user enters a valid decimal value for the length.
1
Expert's answer
2018-03-19T03:44:52-0400
example on c #:
Create a new project windows forms application, add the edit and button components to the form, then declare the variable x of the real type, double click on the button component, go to the code editor and write the code: x = Convert.ToString (edit1.text). So, you take the value of the variable from the edit component and do what you need.

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
APPROVED BY CLIENTS