# ordinal

`function` in `utils` · v0.4.0

<https://docs.seedcord.org/packages/utils/0.4.0/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`.
