• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
How do I format a number or Round a number?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How do I format a number or Round a number?


  • Subject: How do I format a number or Round a number?
  • From: Work <email@hidden>
  • Date: Fri, 10 Oct 2003 09:49:35 -0700

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.
Thank You!!


Vic Piercy
_______________________________________________
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.

  • Follow-Ups:
    • Re: How do I format a number or Round a number?
      • From: Richard Morton <email@hidden>
    • Re: How do I format a number or Round a number?
      • From: Doug McNutt <email@hidden>
    • Re: How do I format a number or Round a number?
      • From: Steve Mills <email@hidden>
  • Prev by Date: application file of remote app broken
  • Next by Date: Re: How do I format a number or Round a number?
  • Previous by thread: Re: application file of remote app broken
  • Next by thread: Re: How do I format a number or Round a number?
  • Index(es):
    • Date
    • Thread