• 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
RE: Decimal Point Truncations?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: access privileges for folders
  • Next by Date: Re: Decimal Point Truncations?
  • Previous by thread: Re: Decimal Point Truncations?
  • Next by thread: Re: Decimal Point Truncations?
  • Index(es):
    • Date
    • Thread