# abs
inline function abs(x)Returns a numeric magnitude while preserving integer or floating-point representation.
| Parameter | Type | Default | Description |
|---|---|---|---|
x | dynamic | — | Horizontal map- or screen-space coordinate. |
src/stdlib.mlSupplies the small numeric and string compatibility helpers expected by translated Doom modules.
inline function abs(x)Returns a numeric magnitude while preserving integer or floating-point representation.
| Parameter | Type | Default | Description |
|---|---|---|---|
x | dynamic | — | Horizontal map- or screen-space coordinate. |