I've been trying to write a batch file to perform a number of calculations using some fairly large numbers, however whenever I try I get the following message, for example:
C:\> set /a total=11787702272+1
Invalid number. Numbers are limited to 32-bits of precision.
Seems to happen whenever the number is more than 10 digits in length. I'm trying to use numbers that are 11 or 12 digits in length. I assume 10 is the limit in the command prompt/dos. Is there any way around it? I've looked for other command line utilities that do the same thing as 'set /a' but couldn't find anything at all. Any ideas?
Any help appreciated.