# Sgn()

Determines the sign of a number.

```
Sgn( number=number );
```

**Returns:** number

# Arguments

| Argument | Type | Required | Description | Default |
|----------|------|----------|-------------|---------|
| number | number | Yes | A number |  |

# Examples

The following code example will output the values returned from the sgn() function for the given input values.

```cfml
15 = <cfoutput>#sgn(15)#</cfoutput><br>
-15 = <cfoutput>#sgn(-15)#</cfoutput>
```







# Categories

[Numbers](../../categories/number.md), [Math](../../categories/math.md)

# See Also

[numeric.sgn()](../objects/numeric/sgn.md)