|
-
May 14th, 2004, 10:27 PM
#1
Thread Starter
Junior Member
Ask textbox get numbers...
Hi all
Anyone knows how to convert strings to numbers...
I got this textbox to prompt a user for a number. I use function todouble to convert it to a number but if a user enters 14.5 i get 145 in the variable....
How do i get 14.5 or 14,5 ?
I mean how do i get the right number?
double mynumber= Convert.ToDouble(Txttextbox1.Text);
Doesn't do the job right....
Ty in advance
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|