AB-Tools.com

Forum Forum



New reply on

Re: Re: Scrollbars are missing
Bhogaraju, 2012-09-29 23:48:26
Apologies after discussions with Ryan his cnllucatioas are correct, in PHP this would be expressed much more simply as:$paypal_percent = 3.4;$paypal_fee = 0.20;$original_amount = 100;$pp_perc = (100 $paypal_percent) / 100;$plus_amount = round(($original_amount + $paypal_fee) / $pp_perc, 2);$minus_amount = round(($original_amount * $pp_perc) $paypal_fee, 2);$plus_fees= round($plus_amount $original_amount, 2);$minus_fees= round($original_amount $minus_amount, 2);Hope this helps someone.Gareth


Name
E-mail
Subject
Text
Newsletter I would like to be informed about news.
 

© Copyright 1999-2017 AB-Tools.com GmbH · AB-SoftCon.net

Deutsch English Español Français Polski