[ create a new paste ] login | about

Link: http://codepad.org/hvSV45JR    [ raw code | output | fork ]

PHP, pasted on Jul 27:
1
2
3
4
5
6
7
8
9
10
11
12
<p>
<?php
$round = round(M_PI);
print $round;
?>
</p>
<p>
<?php
$round_decimal = round(M_PI,2);
print $round_decimal;
?>
</p>


Output:
1
2
3
4
<p>
3</p>
<p>
3.14</p>


Create a new paste based on this one


Comments: