Converting a List of String to List of Double without losing information (

I got a List of String. I am losing information (the dot) when I try to convert an entry to type Double. What am I doing wrong?

 Dim list As New List(Of String)
 Dim a As Double

 a = CDbl(list(0))
'Output: 30969686

Read more here:

Content Attribution

This content was originally published by Tobias Meran at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.

%d bloggers like this: