Home > Article > Web Front-end > What does PI mean in Jquery?
In Jquery, PI refers to "π", which is the ratio of the circumference of a circle to its diameter (pi ratio). Its value is approximately "3.141592653589793", and the syntax is "Math.PI".
The operating environment of this tutorial: windows7 system, jquery1.10.2 version, Dell G3 computer.
PI attribute is π, which is the ratio of the circumference of a circle to its diameter. This value is approximately 3.141592653589793
.
Syntax:
Math.PI
Return value: Returns pi.
Example:
<script type="text/javascript"> document.write("PI: " + Math.PI); </script>
For more programming-related knowledge, please visit:Introduction to Programming! !
The above is the detailed content of What does PI mean in Jquery?. For more information, please follow other related articles on the PHP Chinese website!