Back To Forum Post
Main Index
Predefined Functions
pi
The value of PI The ratio of the radius of a circle to its circumference
[...] = optional ... = your value
[var $... = ]call pi
Example code
<!--parser:xtscript--> var $pi = call pi print pi = <pre>$pi</pre> <!--/parser:xtscript-->
Show as text
Example output
Reload
pi =
3.1415926535898
Quick index
abs
addslashes
base64_decode
base64_encode
bin2hex
br2nl
ceil
chr
crc32
dechex
floor
hex2bin
hexdec
htmlspecialchars
lcfirst
ltrim
md5
mt_rand
nl2br
ord
pi
pow
rawurldecode
rawurlencode
round
rtrim
sha1
str_ireplace
str_pad
str_repeat
str_replace
str_shuffle
strip_tags
stripos
stripslashes
stristr
strlen
strpos
strrchr
strrev
strripos
strrpos
strstr
strtolower
strtoupper
substr
trim
ucfirst
ucwords
urldecode
urlencode