For AI agents: an index of this documentation is at https://developer.rippling.com/llms.txt. Public pages have a Markdown version at the same URL with .md added.

Skip to main content
index

CURRENCY_TYPE() Function

Use with AI:Rippling AI ChatGPT Claude Cursor

Description​

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

Aliases: CURRENCYTYPE

Syntax​

CURRENCY_TYPE(expression)

Parameters​

ParameterDescriptionData TypeRequired
expressionColumn or expression to evaluateCurrency V2Yes

Example​

SELECT
CURRENCY_TYPE(annual_salary_equivalent)
FROM
rippling.employee.Employee;