pi The pi function returns the constant value of Pi.Syntax `pi()` Results The double value of Pi (3.1415926…).Examples This returns a rounded 3.142:print pi() Copy Run in Cribl Search PreviousPreviousNextNext