<?php $value = 21;$vatPerc = 19; $vat = ($value/(100+$vatPerc))*$vatPerc;echo number_format($vat, 2);
Standard input is empty
3.35
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!