Skip to content

PI

PI

PI is a math constant, roughly equivalent to 3.141592654…, and it is of type Float

REM Prints PI Value
PRINT "PI = "; PI

Which will print a rounded value of 3.1415927

  • This constant is 100% Sinclair BASIC Compatible.