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

TO_NUMERIC() Function

Use with AI:Rippling AI ChatGPT Claude Cursor

Description​

Converts a value to a numeric data type

Syntax​

TO_NUMERIC(expression)

Parameters​

ParameterDescriptionData TypeRequired
expressionColumn or expression to evaluateAnyYes

Notes​

  • Equivalent to CAST(expression AS NUMERIC)

Example​

SELECT
TO_NUMERIC('123.45')
FROM
rippling.employee.Employee
LIMIT
5;