Google: Actionscript sign function

 

There are several examples.

 

Tracy Spratt 
Lariat Services 

Flex development bandwidth available 

________________________________

From: [email protected] [mailto:[email protected]] On
Behalf Of aceoohay
Sent: Monday, February 09, 2009 12:06 PM
To: [email protected]
Subject: [flexcoders] Sign function

 

I need to find the sign of a number is there a sign function or method 
available such as;

var mySign:number = sign(-123)

mySign would be -1 for negative, 0 for 0 and +1 for positive.

Paul



Reply via email to