Tech
Forums
Jobs
Books
Events
Videos
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
8
Answers
Converting a string into double
Sven Nijs
14y
9.1k
1
Reply
I'm trying to convert a string into a doble in this way:
string latitude = reader.GetAttribute("lat");
string longitude = reader.GetAttribute("lon");
double lat = Convert.ToDouble(latitude);
double lon = Convert.ToDouble(longitude);
When latitude has a value of: 51.66777, lat has a value of 51667777... The same problem for longitude. When I convert the string, the point disappear. Can someone help me?
Thanks!
Post
Reset
Cancel
Answers (
8
)
Next Recommended Forum
How can i create a movable form header by using windows control library ?
some please guide me....