-
Recently Browsing 0 members
- No registered users viewing this page.
-
Similar Content
-
Get this Ultimate Java Programming Bundle for only $29
By News Staff,
- neowin deals
- sponsored
- (and 6 more)
- 0 replies
- 265 views
-
Need help combining inputs into one output for XML (code included)
By BlakeHammerton,
- 4 answers
- 1,779 views
-
- 12 answers
- 10,057 views
-
- 2 answers
- 1,920 views
-
- 1 reply
- 1,720 views
-
Question
sathenzar
So when I try to retrieve the full gps coordinates from my class I get the correct values. When I am looking at the debugger it shows the xml document contains the right values. However when I call float myVar = locationElem.Element("lat") or float myVar = float.Parse(locationElem.Element("lat").Value); it trims the value short. How do I force it to return the absolute float in the document?
Link to comment
Share on other sites
3 answers to this question
Recommended Posts