Re: How do I format a number or Round a number?
Re: How do I format a number or Round a number?
- Subject: Re: How do I format a number or Round a number?
- From: Steve Mills <email@hidden>
- Date: Fri, 10 Oct 2003 12:10:24 -0500
On Friday, Oct 10, 2003, at 11:49 US/Central, Work wrote:
I am trying to get Applescript to get the size of my Hard drive in a
display dialog. I use the get Free Space command and then divide by
1024/1024/1024 to get Gigabytes. The result is correct however the
number displays as "1.571773529053" I would like to display as a
rounded number. Maybe "1.57GB" Any help would be greatly appreciated.
(round (1.571773529053 * 100)) / 100
Steve Mills
Drummer, Mac geek
http://sjmills5.home.mchsi.com/
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.