The FLOOR()
function in SQLite returns the largest integer value that is less than or equal to a given numeric expression. Essentially, it “rounds down” a decimal number to the nearest integer below it.
This function is useful in cases where you want to discard the decimal portion of a number without rounding up.
Continue reading