Hi there...

I've recently tried to convert a string into a double, using Cdbl(), however I think there is a bug in VB6 Pro...

Here's what I get:

dim A as string
dim B as double

A="123.45"

if I use it this way,

B= cdbl(A)

I get: B=12345 (Wrong!!!)

If I use this way,

B= cdbl(123.45)

I get: B=123.45 (Correct!!)

Does anybody else had this problem?

thanks in advance