Documentation

    pi

    Return the value of pi, about 3.14159.

    Try an expression

    In Formula, enter the expression and set Output type to DOUBLE.

    Expression

    pi()

    Result

    3.141592653589793

    To use your own data, replace the example values with column names. Keep format strings and other options as written.

    Arguments and types

    pi()
    Supported signatures (1)
    pi() → DOUBLE

    The result type can depend on the input types. See DuckDB for the full argument rules.

    Browse numbersDuckDB documentation

    Function metadata from DuckDB, used under the MIT license.