Skip to content

Commit 34f1bdc

Browse files
Update currenct_Converstion_to_USD.js
1 parent e59be7f commit 34f1bdc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Server-Side Components/Business Rules/Currency conversion to USD/currenct_Converstion_to_USD.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
var currencyCode = current.budget_currency ? current.budget_currency.toString().substring(0, 3) : '';
55

66
// Convert the annual budget value to a float
7-
var amount = parseFloat(current.annual_budget);
7+
var amount = parseFloat(current.annual_budget);//annual_budget is filed where we can enter amount
88

99
// Validate input: If currency code is missing or amount is not a valid number, clear the USD field and exit
1010
if (!currencyCode || isNaN(amount)) {

0 commit comments

Comments
 (0)