Skip to Content
0
Mar 03, 2011 at 09:04 AM

I can not sum %

54 Views

Hi everybody,

I have this problem:

totalDtos is a double and oEdit.value = "2.00000" (note that is "2.00000" and not 2.00000 without "")

totalDtos = CType(oEdit.Value, Double)

Then, totalDtos = 20000.0

Why?

I'm trying to catch a percent user field. I don't understant why oEdit.value is a String and doesn't convert to double

Thanks