<?php$total = 4000;$pctm = 30.00;$valor_descontado = $total - ($total / 100 * $pctm);echo $valor_descontado;
Standard input is empty
2800
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!