# Pi

## What is the Power Fx Pi Function?

The Power Fx Pi function is a powerful built-in function in Power Apps that returns the value of Pi (π). Pi is a mathematical constant that represents the ratio of the circumference of a circle to its diameter. In other words, Pi is the value you get when you divide the length of the circumference of a circle by its diameter. Pi is an irrational number, which means it has an infinite number of decimal places and cannot be expressed as a fraction.

## How Does the Power Fx Pi Function Work?

The Power Fx Pi function simply returns the value of Pi (π) in your Power Apps. You can use this value in conjunction with other Power Fx functions to create complex mathematical calculations in your app. For example, you can use the Power Fx Pi function with the Power Fx Sin function to calculate the sine of an angle in radians.

## How to Use the Power Fx Pi Function in Power Apps

Using the Power Fx Pi function in Power Apps is easy. To use the function, simply type “=Pi()” (without the quotes) in the formula bar of a control or variable. The Pi function will return the value of Pi (π) in your app.

Here’s an example of how you can use the Power Fx Pi function in a formula:

AreaOfCircle = Power(Pi(), 2) * Radius

``` In this example, we're using the Power function to calculate the area of a circle. We're multiplying Pi (π) by the radius of the circle squared to get the area. The Power Fx Pi function is a simple but powerful function in Power Apps that allows you to work with the value of Pi (π) in your app. Whether you're working on complex mathematical calculations or just need the value of Pi for a simple formula, the Power Fx Pi function has got you covered. Remember to use the function by typing "=Pi()" in the formula bar of a control or variable, and you'll be off to a great start in your Power Apps development journey. Power Apps Training Courses by G Com Solutions (0800 998 9248) 1-Week Intensive Power Apps Training Course £4,975.00 Select optionsContinue Loading Done Power Apps Introduction (2 Days) £1,990.00 Select optionsContinue Loading Done Power Apps Intermediate (1 Day) £995.00 Select optionsContinue Loading Done Power Apps Advanced (2 Days) £1,990.00 Select optionsContinue Loading Done ```
``` ```
``` ```
``` ```
``` ```
``` ```