sectying Posted April 29, 2008 Share Posted April 29, 2008 (edited) $1 = "94860708214790866899" $2 = "123456987" $3 = $1+$2 msgbox(0,"",$3) why is wrong ? please help me!!! Edited April 29, 2008 by sectying Link to comment Share on other sites More sharing options...
weaponx Posted April 29, 2008 Share Posted April 29, 2008 Take the quotes of of your numbers, they are not strings. Link to comment Share on other sites More sharing options...
PsaltyDS Posted April 29, 2008 Share Posted April 29, 2008 (edited) $1 = "94860708214790866899"$2 = "123456987"$3 = $1+$2msgbox(0,"",$3)why is wrong ? please help me!!!Why is what wrong? AutoIt performs an automatic Number() on your inappropriate strings, the first of which is too large for an INT32 variable and is therefore converted to a DOUBLE float, it does the math to the precision possible with a float DOUBLE, and presents the floating point answer in the MsgBox in engineering notation (9.48607082149143e+019).Didn't you beat this dead horse already with another login ID? Were you by any chance banned for not letting it go? Edited April 29, 2008 by PsaltyDS Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now