Re: Taking into account negative numbers
Re: Taking into account negative numbers
- Subject: Re: Taking into account negative numbers
- From: Paul Berkowitz <email@hidden>
- Date: Tue, 25 Jun 2002 10:01:48 -0700
On 6/25/02 4:04 AM, "Anthony Adachi" <email@hidden> wrote:
>
Does anybody know what's the best way to check to see whether a number is
>
negative?
if x < 0
seems a pretty simple way to do it.
if x < 0 then set x to -x
should take care of your situation, no?
--
Paul Berkowitz
_______________________________________________
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.