# CURRENCY_TYPE() Function

> For the complete documentation index, see [llms.txt](https://developer.rippling.com/llms.txt). Every page is available as Markdown by adding .md to its URL.

Source: https://developer.rippling.com/documentation/rippling-platform/transformations/sql-reference/currency_type

### Description
Extracts the currency code, such as USD, from an rp_currency value.

**Aliases:** `CURRENCYTYPE`

### Syntax
```sql
CURRENCY_TYPE(expression)
```

### Parameters
| Parameter | Description | Data Type | Required |
|-----------|-------------|-----------|----------|
| *expression* | Column or expression to evaluate | Currency V2 | Yes |

### Example
```sql
SELECT
    CURRENCY_TYPE(annual_salary_equivalent)
FROM
    rippling.employee.Employee;
```
