SB 7.7.3805
I have a problem with comparing 2 numbers.
The first number is extracted from a text file and formatted using
Handle String Function.
The result is 74,590,097,776. This is the uncompressed size of 8 files
in a .zip file.
The second number is returned from the Get System Info function, Free
Disk Space option.
The computer has 1.3 TB of free space so the second number now is
1386897334 which is not accurate so I multiple it by 1000 and format the
result using Handle String Function again.
The result is 1,386,891,334,000.
I then issue an IF check: IF Number 2(free space) is less than or equal
to Number 1 (size of uncompressed files).
It takes the true path and say that you do not have enough free space to
extract the zip file, which is false. I have plenty of free space.
If I change the IF to be IF Number 1(size of uncompressed files) is
greater than number 2 (free space), I get the true message.
Again this is wrong, free space is 1.3 TB and size if uncompress files
is 74 GB. How do I check these 2 numbers so I know I have enough free
space to extract my files?

Dee


--
Darrel (Dee) Witham
Professional Data Services, Inc