• 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: applescript-users digest, Vol 2 #106 - 15 msgs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: applescript-users digest, Vol 2 #106 - 15 msgs


  • Subject: Re: applescript-users digest, Vol 2 #106 - 15 msgs
  • From: "Marc K. Myers" <email@hidden>
  • Date: Wed, 06 Dec 2000 17:36:58 -0500
  • Organization: [very little]

Jason Bourque wrote:
> From: "Bourque, Jason" <email@hidden>
> To: email@hidden
> Subject: Round Handler, care to share.
> Date: Wed, 6 Dec 2000 15:35:23 -0500
>
> Hello,
>
> Does anyone have a vanilla handler that finds the next rounded value of a
> number, this is to be used in charts.
>
> i.e. 17.2 rounded would be 20
>
> 22.8 rounded would be 25

on roundUp(aNbr)
return (((aNbr - 1.0E-6) div 5) + 1) * 5
end roundUp

Marc [12/6/00 5:34:01 PM]


  • Prev by Date: Re: emailer script question....
  • Next by Date: Re: emailer script question....
  • Previous by thread: Re: Selecting entire line in BBedit
  • Next by thread: looking for scriptable graphics app.
  • Index(es):
    • Date
    • Thread