• 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: String to real conversion question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: String to real conversion question


  • Subject: Re: String to real conversion question
  • From: Thomas Fischer <email@hidden>
  • Date: Mon, 10 May 2010 18:50:33 +0200

Hm.

As far as I see,

Yvan gets
(*9.998765432E+9*)
(*2.147483647E+9*) 
on 10.4.1,

Yvan and Mark get
(*9.998765432E+9*)
(*1.40883084E+9*)
on 10.6.3 (same with me), and

Michelle gets
error "Can’t make 9.998765432E+9 into type integer." number -1700 from 9.998765432E+9 to integer
on 10.6.3.

So it seems that Michelle has a somewhat special system.
And by the way, I get the German equivalent of "Can’t make 9.998765432E+9 into type integer." with Smile.
So, what's going on?

Thomas

Am 10.05.2010 um 17:13 schrieb Mark J. Reed:

Well, you're on 10.4.11, which is a significant difference right there.  Michell and I are both on 10.6.3.

On Mon, May 10, 2010 at 11:05 AM, Yvan KOENIG <email@hidden> wrote:

Le 10 mai 2010 à 16:58, Mark J. Reed a écrit :


My earlier result was from Applescript Editor.  From the command line, I still get the same thing:

$ osascript -e '9998765432 as integer'
1.40883084E+9
$ osascript -e '"9998765432" as real as integer'
1.40883084E+9
$

Wonder what's different between Michelle's and my systems?


Wonder what's different between Michelle's and mine ?

May be linked to the localized System and Editor ?

Yvan KOENIG (VALLAURIS, France) lundi 10 mai 2010 17:05:09

_______________________________________________
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



--
Mark J. Reed <email@hidden>

smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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

  • Follow-Ups:
    • Re: String to real conversion question
      • From: Doug McNutt <email@hidden>
References: 
 >RE: String to real conversion question (From: Scott Babcock <email@hidden>)
 >Re: String to real conversion question (From: Yvan KOENIG <email@hidden>)
 >Re: String to real conversion question (From: Michelle Steiner <email@hidden>)
 >Re: String to real conversion question (From: Yvan KOENIG <email@hidden>)
 >Re: String to real conversion question (From: Michelle Steiner <email@hidden>)
 >Re: String to real conversion question (From: "Mark J. Reed" <email@hidden>)
 >Re: String to real conversion question (From: Yvan KOENIG <email@hidden>)
 >Re: String to real conversion question (From: "Mark J. Reed" <email@hidden>)

  • Prev by Date: Re: String to real conversion question
  • Next by Date: Geeting Error "Microsoft Word got an error. Connection is invalid"
  • Previous by thread: Re: String to real conversion question
  • Next by thread: Re: String to real conversion question
  • Index(es):
    • Date
    • Thread