views:

26

answers:

2

Is there a way to work with numbers that are larger than VBScript's Long?

Long's range is -2,147,483,648 to 2,147,483,647 and we need to work in an asp page with larger numbers. We cannot work with strings and we need to sum it and do some other calculations.

+1  A: 

You can use Single or Double for this - just be aware of the precision as they are floating point numbers.

More information here

Mark Chorley
+2  A: 

See here for the available data types: VBScript Data Types

Currency, Single, and Double should all work for you.

RedFilter
Thanks.How do I work with the `E` in the `Single` or `Double`?
IgalSt