I'm currently adding a piece of bandwidth measuring functionality for a web app.
The bandwidth used by each session is stored in a database (SQL Server) as a bigint (32-bit integer allowing number up to, er, 9,223,372,036,854,775,807).
However, ASPs standard INT data type is only 8-bit I believe (therefore can only store numbers up to 32,000). And the Long datatype only goes up to just over 2,000,000,000.
(CDec doesn't work either)
What I may have to do is write some functions for SQL Server that play with the numbers server side - but ya get no points for telling me this.
How do you handle large integers in ASP? (points specified for quick answer)
if there is no way
does anyone know of a collection of functions, com components etc that will allow this? (points will go up if it's more complicated)