@php function convertINRtoUSD($inr_amount) { $usd_rate = 0.013; // exchange rate as of 2021-09-01, 1 INR = 0.013 USD $usd_amount = $inr_amount * $usd_rate; return round($usd_amount, 2); // round to 2 decimal places } function convertUSDtoINR($usd_amount) { $inr_rate = 74.21; // exchange rate as of 2021-09-01, 1 USD = 74.21 INR $inr_amount = $usd_amount * $inr_rate; return round($inr_amount, 2); // round to 2 decimal places } @endphp