forked from gnibeil/simplekolecalc
removed commented out code that was not used
This commit is contained in:
parent
16378a77a3
commit
302b17287c
@ -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 ) );
|
||||
<!-- us.value = roundCents(e.value* getFormFloat(u) / 100 );-->
|
||||
<!-- eu.value = roundCents(n.value* 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 ) );
|
||||
<!-- us.value = roundCents(e.value* getFormFloat(u) / 100 );-->
|
||||
<!-- eu.value = roundCents(n.value* getFormFloat(z) / 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 );-->
|
||||
}
|
||||
us.value = roundCents(e.value* getFormFloat(u) / 100 );
|
||||
eu.value = roundCents(n.value* getFormFloat(z) / 100 );
|
||||
|
Loading…
Reference in New Issue
Block a user