RE: Decimal Point Truncations?
RE: Decimal Point Truncations?
- Subject: RE: Decimal Point Truncations?
- From: "Goodman, Steve" <email@hidden>
- Date: Thu, 8 Feb 2001 13:18:28 -0600
>
set diskSize to free space of startup disk
>
--> script code to recalculate diskSize variable to Gb <--
>
display dialog diskSize
>
>
I want to get the disk size and display the result in Gb with
>
one decimal
>
place (If possible).
This one was on the list a week or so ago. Can't quite remember who to give
credit to...I think it was either Michelle Steiner or Nigel Garvey but here
you go:
(round(disksize*10))/10
Steve Goodman
Vertis - THE LTC GROUP
......."Duct tape is like the force, it has a light side and a dark side and
it holds the universe together."------Unknown