mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-06-29 01:44:36 -04:00
This improves the tests and docs for a few functions, specifically `E`, `FLOOR`, `PI`, `POW`, and `ROUND`. The examples and tested signatures will get copied into the docs and kibana signatures. Co-authored-by: Liam Thompson <32779855+leemthompo@users.noreply.github.com>
9 lines
388 B
Text
9 lines
388 B
Text
// This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.
|
|
|
|
*Description*
|
|
|
|
Round a number down to the nearest integer.
|
|
|
|
NOTE: This is a noop for `long` (including unsigned) and `integer`.
|
|
For `double` this picks the closest `double` value to the integer
|
|
similar to {javadoc}/java.base/java/lang/Math.html#floor(double)[Math.floor].
|