This SQLite post explains how to use the SQLite round function with syntax and examples.
The SQLite round function returns a number rounded to a certain number of decimal places.
The syntax for the round function in SQLite is:
The number to round.
The number of decimal places rounded to. If this parameter is omitted, the round function will round the number to 0 decimal places.
The round function can be used in the following versions of SQLite:
Let's look at some SQLite round function examples and explore how to use the round function in SQLite.
For example: