Bug in comparing huge numbers????
Posted: Wed Mar 07, 2012 12:29 pm
Hi:
Look like there is a bug in using the "if Variable MyVal1 not Greater Than" command if MyVal1 is a huge number ...
Here are my tests for
if Variable MyVal1 not Greater Than 500000000
MessageBox: Test result, Bad, $MyVal1$ lesser than 500000000
Terminate Installation
else
MessageBox: Test result, Good, $MyVal1$ greater than 500000000
Terminate Installation
end
Here are results:
- correct comparison if
Set Variable MyVal1 to 1500000000
- incorrect comparison if
Set Variable MyVal1 to 125000000000
It pops up a message box saying "125000000000 lesser than 500000000" !!!!
I need to do a comparison to see if my systems drive is less than 500 MB. And the results of "Get free space" is always in bytes; which meant huge number.
Is there any suggested workaround for this issue? is there any way to "Get free space" in MB?
Thanks
Nhan
Look like there is a bug in using the "if Variable MyVal1 not Greater Than" command if MyVal1 is a huge number ...
Here are my tests for
if Variable MyVal1 not Greater Than 500000000
MessageBox: Test result, Bad, $MyVal1$ lesser than 500000000
Terminate Installation
else
MessageBox: Test result, Good, $MyVal1$ greater than 500000000
Terminate Installation
end
Here are results:
- correct comparison if
Set Variable MyVal1 to 1500000000
- incorrect comparison if
Set Variable MyVal1 to 125000000000
It pops up a message box saying "125000000000 lesser than 500000000" !!!!
I need to do a comparison to see if my systems drive is less than 500 MB. And the results of "Get free space" is always in bytes; which meant huge number.
Is there any suggested workaround for this issue? is there any way to "Get free space" in MB?
Thanks
Nhan