Articles with the tag:
Close
Changelog
Close
Articles with the tag:
Close
Try in the cloud
Try in the cloud

SIGN Function

The SIGN function is one of the math and trigonometry functions. It is used to return the sign of a number. If the number is positive, the function returns 1. If the number is negative, the function returns -1. If the number is 0, the function returns 0.

Syntax

SIGN(number)

The SIGN function has the following argument:

Argument Description
number A numeric value for which you want to get the sign.

Notes

How to apply the SIGN function.

Examples

The required argument is A1, where A1 is 12. The number is positive, so the function returns 1.

SIGN Function: POSITIVE

If we change the A1 value from 12 to -12, the function returns -1:

SIGN Function: NEGATIVE

Return to previous page
Try now for free Try and make your decision No need to install anything
to see all the features in action