Home  >  Article  >  Backend Development  >  PHP self-study no00009 data type floating point pi output

PHP self-study no00009 data type floating point pi output

WBOY
WBOYOriginal
2016-07-29 08:51:001127browse

<?php echo &#39;圆周率的3种书写方法:<p>';
	echo '第一种:pi()='.pi().'<p>';
	echo '第二种:3.14159265359 = 3.14159265359</p><p>';
	echo '第三种:314159265359E-11 = 314159265359E-11</p><p>';
	/*php字符串的连接符是.不是+哈哈记住了*/

?>
</p>

PHP self-study no00009 data type floating point pi output

The above introduces the PHP self-study no00009 data type floating point pi output, including the relevant content. I hope it will be helpful to friends who are interested in PHP tutorials.

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:ubuntu install APCNext article:ubuntu install APC