• 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: simple number question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: simple number question


  • Subject: Re: simple number question
  • From: Steve Roy <email@hidden>
  • Date: Mon, 23 Dec 2002 22:19:51 -0500

email@hidden (Peter Kincaid) wrote:

> how do I get a equation to return a number rounded to the nearest tenth
> rather than a whole slew of numbers

I ran into this lately. I came up with this:

10 / 3
(round result * 100) / 100 as real
--> 3.33

Steve

--
Steve Roy <email@hidden>
_______________________________________________
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.

References: 
 >simple number question (From: Peter Kincaid <email@hidden>)

  • Prev by Date: Re: 10.2.3
  • Next by Date: Re: simple number question
  • Previous by thread: Re: Bug?
  • Next by thread: Re: simple number question
  • Index(es):
    • Date
    • Thread