SQLite pi() Function
The SQLite pi()
function returns an approximation of π.
Syntax
Here is the syntax of the SQLite pi()
function:
pi()
Parameters
The SQLite pi()
function does not require any parameters.
Return value
The SQLite pi()
function returns an approximation of π.
Examples
This example shows the basic usage of the SQLite pi()
function:
SELECT pi();
pi() = 3.14159265358979