$rate = 80;
$total_offer_pay = 2.05;
$new_rate = ($rate / 100) * $total_offer_pay;
$mycut = $total_offer_pay - $new_rate;
$points = floatval($new_rate) * 100; //lets make offers worth $1.20 appear as 120 points.