Multiple choice

Sgn ( ) function is a numeric library function used to

  1. assign a sign to a number

  2. tally the sign of two numbers

  3. determine the sign of a number

  4. find out the special characters in a number

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

The Sgn function in Visual Basic returns an integer indicating the sign of a number: 1 if positive, 0 if zero, and -1 if negative.