-
-
Save brunofragax/92757e4cd0f52b96ae7a to your computer and use it in GitHub Desktop.
Working with PI
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (* | |
| Working with PI - AppleScript | |
| Bruno Fraga - www.brunofraga.net | |
| *) | |
| -- get value of PI: pi | |
| -- calculating the perimeter of a circle | |
| set radius to 5 | |
| 2 * pi * radius | |
| -- Result: 31.415926535898 |
nowikovzhenya2020
commented
Jan 2, 2026
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment