[ create a new paste ] login | about

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

martin@mustbebuilt.co.uk - PHP, pasted on Jun 25:
1
2
3
4
5
<?php
$price = 5.55;
$price2= round($price);
print($price2); //outputs 6
?> 


Output:
1
6 


Create a new paste based on this one


Comments: