Skip to main content
Returns X Coordinate of given Point, null otherwise. ST_X

Signatures

ST_X(pointA: Point)

Parameters

pointA
Point
required
The input point.

Return type

A numeric value.

Example

SELECT ST_X(ST_Point(0.0, 25.0))
0.0