📣
TiDB Cloud Premium is now in public preview. Unlimited growth, instant elasticity, advanced security for enterprise workloads. Try it out →

TO_FLOAT32



Converts a value to FLOAT32 data type.

Syntax

TO_FLOAT32( <expr> )

Examples

SELECT TO_FLOAT32('1.2'); ┌───────────────────┐ │ to_float32('1.2') │ ├───────────────────┤ │ 1.2 │ └───────────────────┘

Was this page helpful?