Floor



Returns the largest whole number that is less than or equal to the given number.

Numeric Floor(Numeric value)

round-pushpin Returns 4 and -2.
SELECT Floor(4.8) as A, Floor(-1.5) as B FROM Single




SQL :: Syntax
Basic KBSQL syntax and some examples.
SQL :: ToLower
Returns the value converted to lower case.
SQL :: ToNumeric
Returns the value converted to a number.
SQL :: ToProper
Returns the value with the first letter of each word capitalized (title case).
SQL :: ToString
Returns the number as a string, so that + concatenates it instead of adding it.
SQL :: ToUpper
Returns the value converted to upper case.
SQL :: Trim
Removes white space from the start and end of the value. When characters is given, each of those characters is removed from the start and end instead.