Question: I have a value of: "2.54334881002458E-37" and i keep getting "overflow" exception when i'm using a double.

what should i use to make this work?

Thank you

code snippet:

```
Dim curries, act, cat As Double
 For Each dataRow As DataRow In dt.Rows
            curries = dataRow("Activity")

```

getting the error when i try to assign Activity to curries.

but "activity" is a string in the database....

Answer: 
Change your unit of measure, so that you're not working in 10^-37 of whatever it is you're dealing with. This problem just screams "I'm not solving this in the appropriate domain."
and if the need to have large numbers and precise I suggest the use of decimal numbers, more information here.

<http://msdn.microsoft.com/en-us/library/system.decimal.aspx>

Bye