GeekInterview.com
Series: Subject: Topic:
Question: 86 of 133

What is the output of SIGN function

Asked by: Interview Candidate | Asked on: Jul 29th, 2005
Showing Answers 1 - 4 of 4 Answers
harsha

Answered On : Jul 29th, 2005

SIGN (a): Returns 1 if a is positive or if a is 0, and -1 if a is less than 0. 

Yes  1 User has rated as useful.
  
Login to rate this answer.

1 or -1

  
Login to rate this answer.
qwe

Answered On : Mar 29th, 2007

SIGN (a): Returns 1 if a is positive ,-1 if a is less than 0 and 0 if a is 0

  
Login to rate this answer.
sharmasl

Answered On : Mar 23rd, 2009

View all answers by sharmasl

For - values it return (-1);for 0 it return (0);for + values it return (+1);

  
Login to rate this answer.

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

Related Open Questions

Ads

Connect

twitter fb Linkedin GPlus RSS

Ads

Interview Question

 Ask Interview Question?

 

Latest Questions

Interview & Career Tips

Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.