fork(6) download
  1. <?php
  2. $total = 4000;
  3. $pctm = 30.00;
  4. $valor_descontado = $total - ($total / 100 * $pctm);
  5. echo $valor_descontado;
  6.  
  7. //https://pt.stackoverflow.com/q/88177/101
Success #stdin #stdout 0.01s 24460KB
stdin
Standard input is empty
stdout
2800