Common Use Case:
Calculate Circumference or Area of a Circle
If anyone knows what else you can do with pi
, please let me know. In the meantime.. circles.
Circumference
Calculating the length of a circle's boundary.
prop("Radius")
→ Specifies the property you wish to use as the radius (make sure it's a Number property).* 2
→ Multiplies the radius by 2.* pi
→ Multiplies the result of the above by pi (3.14...).
Area
Calculating the area of a circle.