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

Re: Currency Numbers


  • Subject: Re: Currency Numbers
  • From: Emmanuel <email@hidden>
  • Date: Thu, 22 Jun 2006 12:02:57 +0200

At 8:45 PM -0700 6/21/06, Paul Berkowitz wrote:
Here's a neater way to write that:

y * (((y > 0) as integer) - ((y < 0) as integer))

Excellent! Also:

2 * y * ((y > 0) as integer) - y

Emmanuel
_______________________________________________
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


References: 
 >Re: Currency Numbers (From: Paul Berkowitz <email@hidden>)

  • Prev by Date: Re: Who Owns An Application?
  • Next by Date: Re: Intel UI scripting
  • Previous by thread: Re: Currency Numbers
  • Next by thread: Re: Currency Numbers
  • Index(es):
    • Date
    • Thread