elasticsearch/docs/reference/esql/functions/abs.asciidoc

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
169 B
Plaintext
Raw Normal View History

2023-05-11 23:02:27 +08:00
[[esql-abs]]
=== `ABS`
Returns the absolute value.
[source,esql]
----
FROM employees
| PROJECT first_name, last_name, height
| EVAL abs_height = ABS(0.0 - height)
----