From c2940c045069e9c617cb507a6db0cecd05cecd6e Mon Sep 17 00:00:00 2001 From: Zoltan Date: Fri, 9 Feb 2024 18:56:54 -0500 Subject: [PATCH] Update ta_cola.html --- ta_cola.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ta_cola.html b/ta_cola.html index 1a41da9..f0d6cc5 100644 --- a/ta_cola.html +++ b/ta_cola.html @@ -316,7 +316,7 @@
Cost adjustment by location
var lead_ta = course[0]; var ta = course[1]; - theStr = Math.round((country * lead_ta + lead_ta)/2) + ' USD' + ' / ' + Math.round((country * ta + ta)/2) + ' USD' + ' -- (LeadTA/TA)' + theStr = Math.round((0.5 + 0.5 * country) * lead_ta) + ' USD' + ' / ' + Math.round((0.5 + 0.5 * country) * ta) + ' USD' + ' -- (LeadTA/TA)' document.getElementById('costs').innerHTML = theStr; }