Log 2633
24/01/2024 2024-01-24 19:38// Set the values of the placeholders
$expectedAmount = 1000; // סכום משוקלל לעסקה
$discountPercentage = 10; // אחוזי הנחה צפויים
$transactionCost = 50; // עלות עסקה
// Calculate the net amount after discount and subtract transaction cost
$netAmount = $expectedAmount – ($expectedAmount * ($discountPercentage / 100)) – $transactionCost;
return $netAmount;