# PI_BY_TWO

*LSL constant*

```lsl
float PI_BY_TWO = 1.57079633;
```

Mathematical constant pi/2, representing the number of radians in a quarter circle. When used in sensor functions, it specifies a hemisphere scan.

[PI](/constants/PI/)/2. The number of radians in a quarter circle.

## See also

### Constants

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

---

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

---

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