--- title: "pi" excerpt: "Return the value of `pi`. Archimedes’ constant (π)." layout: manual --- Return the value of `pi`. Archimedes’ constant (π). ```js pi() -> number ``` ### Tags * `math` ### Examples ```js const myVar = pi() * 3.0 ``` ### Arguments ### Returns `number`