Calling a method in another class to convert an object to that class
<p>I was wondering about something very basic but that I haven't been able to figure out. I've read the similar questions, but they don't particularly answer my question.</p>

<p>Let's say I have a string. I want to convert it into a double. Now I see that there is a function known as parseDouble in java.lang.Double. However, how do I call it? The string is in my Android strings.xml file if that's any help.</p>

<p>Thanks.</p>
