Re: A problem with signs
Re: A problem with signs
- Subject: Re: A problem with signs
- From: Emmanuel <email@hidden>
- Date: Tue, 23 May 2006 19:16:24 +0200
At 9:52 AM -0400 5/23/06, Jon Rosen wrote:
Is there any reason you couldn't use:
set x to "-0.1234"
if (x as number) < 0 then
set y to "-"
else
set y to "+"
end if
display dialog x & " " & y
Or, in one line:
set x to "-0.1234"
set y to (x * x) ^ 0.5
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