Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions docs/pi.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# PI

## Syntax

```
PI
```


## Description

PI is a math _constant_, roughly equivalent to **3.141592654...**,
and it is of type `Float`

## Example

```
REM Prints PI Value
PRINT "PI = "; PI
```
Which will print a _rounded value_ of `3.1415927`


## Remarks

* This constant is 100% Sinclair BASIC Compatible.

## See also
* [COS](cos.md) and [ACS](acs.md)
* [SIN](sin.md) and [ASN](asn.md)
* [TAN](tan.md) and [ATN](atn.md)