diff --git a/kole.html b/kole.html index 801edc4..1cf52cd 100644 --- a/kole.html +++ b/kole.html @@ -41,18 +41,12 @@ if(bk.checked){ e.value = roundCents( getFormFloat(k) * ( 1 + getFormFloat(u) / 100 ) / ( 1 - getFormFloat(z) / 100 ) ); n.value = roundCents( getFormFloat(k) / ( 1 - getFormFloat(z) / 100 ) ); - - }else if(bb.checked){ k.value = roundCents( getFormFloat(e) / ( 1 + getFormFloat(u) / 100 ) * ( 1 - getFormFloat(z) / 100 ) ); n.value = roundCents( getFormFloat(e) / ( 1 + getFormFloat(u) / 100 ) ); - - }else if(bn.checked){ e.value = roundCents( getFormFloat(n) * ( 1 + getFormFloat(u) / 100 ) ); k.value = roundCents( getFormFloat(n) * ( 1 - getFormFloat(z) / 100 ) ); - - } us.value = roundCents(e.value* getFormFloat(u) / 100 ); eu.value = roundCents(n.value* getFormFloat(z) / 100 );