Oracle Math SIGN() Function

The SIGN() is a Math function of ORACLE. This function is used to get a sign of the given number. If the number is less than 0, this function returns -1. If the number is 0 or 1 or greater than 0, this function returns 0.

Syntax

Parameters

number: It is the number for getting a sign.4

Returns

This function returns a sign of the given number.

Example 1


oracle Math SIGN() Function

Example 2


oracle Math SIGN() Function

Example 3


oracle Math SIGN() Function
Next TopicOracle Math




Latest Courses