PI
n = PI
Returns PI. See: Wikipedia
Example
print PI ' Output: 3.1415...
print cos(2*PI) ' Output: 1
Code samples using PI
000 hello.bas
002 numeric variables.bas
003 conditional branching.bas
004 loops.bas
100lines.bas
3d rotating cube with message.bas
3d wire cube v1.bas
3d wire cube.bas
3d_torus.bas
3dtorus.bas
7gables.bas
A Rubens, Peter Paul Landscape.bas
analog clock.bas
anball 1.0.bas
another look at trig functions.bas
arc_ui.bas
autumn scene.bas
balls.bas
betrayal: crows ii.bas
bezier_pen.bas
biorythms.bas
blackjack.bas
BlackJack.bas
bolmo.bas
bomb.bas
bowling7.bas
bpf1.bas
bpf2.bas
bubbles and triangles.bas
System
CHAIN
COMMAND
CWD
DELAY
ENV
ENV
EXEC
EXPORT
FRE
HOME
IMPORT
INCLUDE
MAXINT
NIL
OPTION
PAUSE
PI
PROGLINE
RANDOMIZE
RUN
SBVER
SELF
STKDUMP
TROFF
TRON
UNIT
If there is insufficient information on this page and you wish learn more about PI,
please send an email to smallbasic@gmail.com. You can help to improve information about
PI by submitting a pull request,
click View Source for details. Note, an offline language reference text file is also available - see the Download section.