This shows you the differences between two versions of the page.
dev:sql:functions:floor [2010/07/09 04:27] els created |
dev:sql:functions:floor [2016/06/28 22:38] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | {{page>:top_add&nofooter&noeditbtn}} | ||
- | {{page>:sql_bar&nofooter&noeditbtn}} | ||
- | ====== Omnidex SQL Function: FLOOR ====== | ||
- | ===== Description ===== | ||
- | |||
- | Rounds a non-integer value downward to the next lower integer. | ||
- | |||
- | This function returns a BIGINT datatype. | ||
- | |||
- | ===== Syntax ===== | ||
- | |||
- | FLOOR( numeric_expression ) | ||
- | | ||
- | == numeric_expression == | ||
- | |||
- | Required. Any expression that returns a numeric-class datatype. | ||
- | |||
- | ===== Example ===== | ||
- | ==== Example 1: Column ==== | ||
- | |||
- | <code> | ||
- | > select floor(latitude) from countries; | ||
- | |||
- | TO BE COPIED | ||
- | |||
- | </code> | ||
- | |||
- | {{page>:bottom_add&nofooter&noeditbtn}} | ||