Re: Possible bug.
Re: Possible bug.
- Subject: Re: Possible bug.
- From: Deivy Petrescu <email@hidden>
- Date: Sun, 2 May 2004 21:27:43 -0400
At 5:55 PM -0700 5/2/04, Paul Berkowitz wrote:
Not really, just an inconsistent implicit coercion. 'run script' takes a
string as an argument and you're giving it numerical fractions. It can deal
with the rational fraction 1/5 = 0.2 OK, coercing it to "0.2". But it has
trouble with the irrational 1/9, probably because the usual answer we get
(0.111111111111) is a rounding that needs an evaluation first by explicit
coercion':
I believe you are 100% right here. Further tests indicate this.
I was working with trigonometric functions and
used pi a lot. However, I forgot if I was sending
or receiving.
Then, I did not pay much attention to what I was getting.
Thanks Paul!
--
Regards
Saudagues
Deivy
http://www.dicas.com
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.