removed commented out code that was not used

This commit is contained in:
Simon Liebing 2023-03-29 12:50:37 +02:00
parent 16378a77a3
commit 302b17287c

View File

@ -41,18 +41,12 @@
if(bk.checked){ if(bk.checked){
e.value = roundCents( getFormFloat(k) * ( 1 + getFormFloat(u) / 100 ) / ( 1 - getFormFloat(z) / 100 ) ); e.value = roundCents( getFormFloat(k) * ( 1 + getFormFloat(u) / 100 ) / ( 1 - getFormFloat(z) / 100 ) );
n.value = roundCents( getFormFloat(k) / ( 1 - getFormFloat(z) / 100 ) ); n.value = roundCents( getFormFloat(k) / ( 1 - getFormFloat(z) / 100 ) );
<!-- us.value = roundCents(e.value* getFormFloat(u) / 100 );-->
<!-- eu.value = roundCents(n.value* getFormFloat(z) / 100 );-->
}else if(bb.checked){ }else if(bb.checked){
k.value = roundCents( getFormFloat(e) / ( 1 + getFormFloat(u) / 100 ) * ( 1 - getFormFloat(z) / 100 ) ); k.value = roundCents( getFormFloat(e) / ( 1 + getFormFloat(u) / 100 ) * ( 1 - getFormFloat(z) / 100 ) );
n.value = roundCents( getFormFloat(e) / ( 1 + getFormFloat(u) / 100 ) ); n.value = roundCents( getFormFloat(e) / ( 1 + getFormFloat(u) / 100 ) );
<!-- us.value = roundCents(e.value* getFormFloat(u) / 100 );-->
<!-- eu.value = roundCents(n.value* getFormFloat(z) / 100 );-->
}else if(bn.checked){ }else if(bn.checked){
e.value = roundCents( getFormFloat(n) * ( 1 + getFormFloat(u) / 100 ) ); e.value = roundCents( getFormFloat(n) * ( 1 + getFormFloat(u) / 100 ) );
k.value = roundCents( getFormFloat(n) * ( 1 - getFormFloat(z) / 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 );-->
} }
us.value = roundCents(e.value* getFormFloat(u) / 100 ); us.value = roundCents(e.value* getFormFloat(u) / 100 );
eu.value = roundCents(n.value* getFormFloat(z) / 100 ); eu.value = roundCents(n.value* getFormFloat(z) / 100 );