---
title: "pi"
canonical: "https://support.appfire.com/space/PSJ/15487627/pi"
format: markdown
---
> Macro (aura-html)


|  |  |  |  |
| --- | --- | --- | --- |
| **Syntax** | pi() | **Package** |  |
| **Alias** |  | **Pkg Usage** |  |

## Description

> Macro (excerpt)
> 
> Constant function. Returns the value of Pi.

Constant function. Returns the value of Pi.

## Return Type

**Number**

## Example

```
number a = pi();
print("a= " + a);
```

Prints: a= 3.141592653589793; 

## See also

> Macro (contentbylabel)