<?php
function numbers($price, $discount) {
return $price - $price/100*$discount;
}
echo numbers(80,20); //result - "80-80/100*20=64"
echo numbers(100,50); //result - "100-100/100*50=50"
echo numbers(200,80); //result - "200-200/100*80=40"