Name
pi — return the constant π
Synopsis
pi(
|
); |
Description
pi returns the constant π as a double
precision value. Use it with the trigonometric functions, which
operate in radians.
Parameters
None.
Return Types
pi returns a double precision
approximation of π.
Examples
Example 24.528. Simple example
SQL> select pi();
Connected to OpenLink Virtuoso
Driver: 08.03.3335 OpenLink Virtuoso ODBC Driver
unnamed
DOUBLE PRECISION NOT NULL
_______________________________________________________________________________
3.14159265358979
1 Rows. -- 0 msec.