• 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: magic integer converter number 62?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: magic integer converter number 62?


  • Subject: Re: magic integer converter number 62?
  • From: Nigel Garvey <email@hidden>
  • Date: Tue, 20 Feb 2001 12:19:24 +0000

=?iso-8859-1?q?M=20Shaw?= wrote on Mon, 19 Feb 2001 17:36:01 -0800 (PST):

>Can anybody figure out why this works:
>
>set x to 62
>set b to ((x + (2.6 - (2.6 mod 1))) - x) as integer
>
>and this doesn't:
>
>set x to 61
>set b to ((x + (2.6 - (2.6 mod 1))) - x) as integer

They both work on both my machines (OS 8.6 & OS 9.0.4) - and they both
produce integer results even without the coercion. What exactly hppens in
your case?

NG


  • Prev by Date: Re: passing error codes from the finder/filemaker back to an applescript
  • Next by Date: Script to crop square thumbnails
  • Previous by thread: Re: magic integer converter number 62?
  • Next by thread: Re: magic integer converter number 62?
  • Index(es):
    • Date
    • Thread