floor.asciidoc 388 B

123456789
  1. // This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.
  2. *Description*
  3. Round a number down to the nearest integer.
  4. NOTE: This is a noop for `long` (including unsigned) and `integer`.
  5. For `double` this picks the closest `double` value to the integer
  6. similar to {javadoc}/java.base/java/lang/Math.html#floor(double)[Math.floor].