# PI

*LSL constant*

```lsl
float PI = 3.14159265;
```

Mathematical constant pi, representing the number of radians in a half circle (semi-circle). When used in sensor functions, it specifies a full sphere scan.

[Pi](https://en.wikipedia.org/wiki/Pi). The number of radians in a half circle.

## See also

### Constants

- [PI_BY_TWO](/constants/PI_BY_TWO/)
- [TWO_PI](/constants/TWO_PI/)
- [RAD_TO_DEG](/constants/RAD_TO_DEG/)
- [DEG_TO_RAD](/constants/DEG_TO_RAD/)

---

*Source: [PI](https://wiki.secondlife.com/wiki/PI) on the Second Life Wiki. Content from the Second Life Wiki article PI (revision 1215231, 2023-10-29), CC BY-SA 3.0.*

---

From lsl.dev: https://lsl.dev/constants/PI/
