fork download
  1. <?php
  2.  
  3. $valor = 1863;
  4. $porcent = 20 / 100;
  5. $resultado = $porcent * $valor;
  6.  
  7. echo '<span style="width:40px" class="text-muted">'.ceil($resultado).'</span>';
Success #stdin #stdout 0.02s 82560KB
stdin
Standard input is empty
stdout
<span style="width:40px" class="text-muted">373</span>