1 |
<?php<br> $num_float1
= 1.234; //小数点<br>echo $num_float1;<br>echo "<br />";<br>$num_float2 = 1.2e3; //科学计数法,小写e<br>echo $num_float2;<br>echo "<br />";<br>$num_float3 = 7E-3; //科学计数法,大写E<br>echo $num_float3;<br>echo "<br />";<br>?><br><br> |
原文地址:http://www.cnblogs.com/evilxr/p/3755902.html