• 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: Round a number towards zero!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Round a number towards zero!


  • Subject: Re: Round a number towards zero!
  • From: Nigel Garvey <email@hidden>
  • Date: Sat, 19 Mar 2005 11:01:58 +0000

Michelle Steiner wrote on Fri, 18 Mar 2005 17:56:41 -0700:

>On Mar 18, 2005, at 5:44 PM, Nigel Garvey wrote:
>
>>   trnc from 321.245 onto 2 with rounding
>>   --> 321.25
>
>But that rounds towards zero, not towards zero factorial.

Actually, it rounds to the nearest multiple of 0.01, using the convention
that .005 rounds away from zero.  :-)

NG
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: iCal organization with dates & events & lists....
  • Next by Date: Re: How to duplicate or alias a file in Finder?
  • Previous by thread: Re: Round a number towards zero!
  • Next by thread: Re: Unicode Codepoints
  • Index(es):
    • Date
    • Thread