C
Clarkie
Hi!
I have a string that I try to convert into a double
Dim dblOrgAmount As Integer
Dim sLine as string
Dim blnSuccess As Boolean
blnSuccess = Double.TryParse(sLine.Substring(65, 15), dblOrgAmount)
The problem is that dblOrgAmount does not contain any decimals, though the
string does.
EG
-8967676.675 ----> -8967677
I am using "en-US" as culture for the current thread.
Any ideas?
I have a string that I try to convert into a double
Dim dblOrgAmount As Integer
Dim sLine as string
Dim blnSuccess As Boolean
blnSuccess = Double.TryParse(sLine.Substring(65, 15), dblOrgAmount)
The problem is that dblOrgAmount does not contain any decimals, though the
string does.
EG
-8967676.675 ----> -8967677
I am using "en-US" as culture for the current thread.
Any ideas?