• 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
Rounding
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Rounding


  • Subject: Rounding
  • From: Rob Jorgensen <email@hidden>
  • Date: Tue, 19 Mar 2002 20:47:10 -0500

Howdy,

I need to extract the minutes from the time string of current date and then round them up to the next 5 minute increment. I can extract the minutes with no problem but the rounding is my weak spot (my loss of mathematical ability is documented in the archives of this list). :P

So, how do I round 14 to 15, or 16 to 20? Does anyone care to share a handler which addresses this?

Thanks for any help that you might offer.
--
Later,

Rob Jorgensen
Ohio, USA
_______________________________________________
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: Rounding
      • From: Malcolm Fitzgerald <email@hidden>
    • Re: Rounding
      • From: Jon Pugh <email@hidden>
    • Re: Rounding
      • From: Paul Berkowitz <email@hidden>
    • Re: Rounding
      • From: Malcolm Fitzgerald <email@hidden>
    • Re: Rounding
      • From: Paul Berkowitz <email@hidden>
    • Re: Rounding
      • From: Doug McNutt <email@hidden>
  • Prev by Date: Re: Looping through a list with only one item problem?
  • Next by Date: Progress Bar for OS X?
  • Previous by thread: Applescriptable FTP Tools
  • Next by thread: Re: Rounding
  • Index(es):
    • Date
    • Thread