Quantcast
Channel: Xojo Programming Forum - Latest topics
Viewing all articles
Browse latest Browse all 3963

Converting String to Double

$
0
0

I have a String array. One of the elements = ‘17,1’, NL locale. I want to convert this string to a double: KMDouble = KMArray(8).ToDouble. KMDouble is a Double.

The result = 0. Looking in the debugger I see that the text in the element actually is binary 0031,0037,002C,0031,00, as text ‘.1.7.,.1.’. One way or the other I can’t get rid of the extra characters. How to deal with this?

4 posts - 4 participants

Read full topic


Viewing all articles
Browse latest Browse all 3963

Trending Articles