posted 20 years ago
Seems people politely ignored my mistake. 2 billion (2 000 000 000) is of course 10 digits, not 9.
In any case, the actual range for ints is [-2,147,483,648 to 2,147,483,647]. For longs it's [-9,223,372,036,854,775,808 to 9,223,372,036,854,775,807].
--Tim