Skip to main content
TO_FLOAT
Tom Williams avatar
Written by Tom Williams
Updated over 11 months ago

Function: TO_FLOAT

Syntax: TO_FLOAT(value)

Description: Cast a value as a float. Return 0 if the value is not a number.

Sample usage:

  • TO_FLOAT("1.5") returns 1.5

  • TO_FLOAT("not_a_number") returns 0

Did this answer your question?