• 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: How can I round in applescript to 3 digits after a period?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How can I round in applescript to 3 digits after a period?


  • Subject: Re: How can I round in applescript to 3 digits after a period?
  • From: Doug McNutt <email@hidden>
  • Date: Thu, 3 Jan 2008 14:03:56 -0700

At 12:57 -0500 1/3/08, Mark J. Reed wrote:
>I.e. 19.9898923978923892 should just be rounded to 19.989
>That's not rounding, that's truncating.  19.9898 rounds to 19.990.

To make a truncation look pretty much like a round add 0.5 to the number before truncating to an integer.
--

--> From the U S of A, the only socialist country that refuses to admit it. <--
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

References: 
 >How can I round in applescript to 3 digits after a period? (From: "Patrik B." <email@hidden>)
 >Re: How can I round in applescript to 3 digits after a period? (From: "Mark J. Reed" <email@hidden>)

  • Prev by Date: Re: Dates in General
  • Next by Date: Re: How can I round in applescript to 3 digits after a period?
  • Previous by thread: Re: How can I round in applescript to 3 digits after a period?
  • Next by thread: Re: How can I round in applescript to 3 digits after a period?
  • Index(es):
    • Date
    • Thread