Using AutoIt, when I multiply 1
by 10^21
, I get 1e+021
. But in separate steps, such as multiplying 1
by 10^3
seven times, I get the overflow value of 3875820019684212736
.
It appears AutoIt cannot handle numbers with more than eighteen digits. Is there a way around this? For example, can I multiply 10,000,000,000,000,000
by 1000
and have the result displayed as 1e+019
?
Try this UDF : BigNum UDF
Example :
$X = "9999999999999999999999999999999"
$Y = "9999999999999999999999999999999"
$product = _BigNum_Mul($X, $Y)