$commission = #עמלה#; $amount = #סכום#;
if ($commission == “כן”) { $result = $amount * 0.9725; } else { $result = “”; }
return $result;