> ## Documentation Index
> Fetch the complete documentation index at: https://docs.wherobots.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ST_M

Returns M Coordinate of given Point, null otherwise.

<img src="https://mintcdn.com/wherobots/fqh3gPDE0J25Lra_/images/sql-functions/ST_M/ST_M.svg?fit=max&auto=format&n=fqh3gPDE0J25Lra_&q=85&s=1483d20ba45683e8de69031b7f61208f" alt="ST_M" width="500" height="300" data-path="images/sql-functions/ST_M/ST_M.svg" />

## Signatures

```sql theme={"system"}
ST_M(geom: Geometry)
```

## Parameters

<ParamField body="geom" type="Geometry" required>
  The input geometry.
</ParamField>

## Return type

<ResponseField type="Double">
  A numeric value.
</ResponseField>

## Example

```sql theme={"system"}
SELECT ST_M(ST_MakePoint(1, 2, 3, 4))
```

```
4.0
```
