RE: Does "rounding" work in OS 9.2.1
RE: Does "rounding" work in OS 9.2.1
- Subject: RE: Does "rounding" work in OS 9.2.1
- From: <email@hidden>
- Date: Wed, 31 Oct 2001 14:24:33 -0600
Apparently, if I change the script to as follows the rounding works-
set theSizeTotal to 0
tell application "Finder"
activate
set theSelections to every item of selection
repeat with theItem in theSelections
set itemSize to size of theItem
set itemSize to round (itemSize / 1024 / 1024)
set theSizeTotal to (theSizeTotal + itemSize)
end repeat
display dialog theSizeTotal - I would like this to end up an integer
end tell
Go figure....
-----Original Message-----