Value which is more closer than any other to pi, the relation of the circumference of a circle to its diameter.
1 math.pi
<math.pi />
Returns | |
---|---|
Type | Description |
Double | The value of Pi. |
Example
Copy
<xsql-script name='PI_sample1'> <body> <println><math.pi /></println> -->PI = 3.141592653589793 </body> </xsql-script>
Copy
It returns PI (3.141592653589793) with a precision of 16 decimals.