# ordinal

`function` in `utils` · v0.6.1

<https://docs.seedcord.org/packages/utils/0.6.1/functions/ordinal>

Returns the ordinal suffix for a given number.

```ts
ordinal(n: number): string
```

Returns the ordinal suffix for a given number.

Parameters.

- `n` `number` — The number to get the ordinal for

Returns `string`.
