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; }