# int LevelFromExp(int)

[Family: Global](/imperivm/en/CKS/familias/global/)

## Exact signature

```text
int LevelFromExp(int)
```

## Description

Converts an experience dword using an inline signed threshold scan and returns the resulting level dword.

## Parameters and return type

**Return type:** `int`

| Position | Type |
| --- | --- |
| 1 | `int` |

## Read and share

- [Markdown](/imperivm/exports/en/cks/api-ce6aa2404916ae.md)
- [JSON](/imperivm/CKS/api/entries/api-ce6aa2404916ae?lang=en)

Keep the notes and limitations when reusing this description. Do not infer undocumented parameter meanings, units or effects.
