---
title: signum()
framework: swift
role: symbol
role_heading: Instance Method
path: swift/staticbigint/signum()
---

# signum()

Indicates the value’s sign.

## Declaration

```swift
func signum() -> Int
```

## Return Value

Return Value -1 if the value is less than zero, 0 if it is equal to zero, or +1 if it is greater than zero.
