PHP self-study no00009 data type floating point pi output

WBOY
Release: 2016-07-29 08:51:00
Original
1127 people have browsed it

<?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>
Copy after login

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.

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!