• 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
Round à number to 0, 10, 20, 30 etc...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Round à number to 0, 10, 20, 30 etc...


  • Subject: Round à number to 0, 10, 20, 30 etc...
  • From: giZm0 <email@hidden>
  • Date: Sun, 08 Apr 2001 17:54:49 -0400

Hi, I am looking for a way to round a number (between 1 and 100) to its
3about ten2 (0, 10, 20, 30 etc..).

I tried several times with the 3round command2 but I just cant get it
right....

Can someone help me ?
Currently my script goes like this :
set curvol to (round (value/ 10)) * 10

Thanks,
giZm0
email@hidden


  • Follow-Ups:
    • Re: Round à number to 0, 10, 20, 30 etc...
      • From: Bill Briggs <email@hidden>
  • Prev by Date: Re: Folder Actions Shortcomings...
  • Next by Date: Excel scripting question
  • Previous by thread: Re: Archive on Goggle [OT]
  • Next by thread: Re: Round à number to 0, 10, 20, 30 etc...
  • Index(es):
    • Date
    • Thread