VBScript and numbers larger than Long
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,14开发者_Go百科7,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.
See here for the available data types: VBScript Data Types
Currency
, Single
, and Double
should all work for you.
You can use Single or Double for this - just be aware of the precision as they are floating point numbers.
More information here
精彩评论