[ create a new paste ] login | about

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

balajimca - PHP, pasted on Dec 12:
1
2
3
4
5
6
<?php
$rate=12.00;
$percent = 5;
$newrate = ($rate - (($rate/100)*$percent));
print $newrate;
?>


Output:
1
11.4


Create a new paste based on this one


Comments: