diff --git a/home.html b/home.html index 514e5d6..c290482 100644 --- a/home.html +++ b/home.html @@ -1365,9 +1365,9 @@ if (number == -0) { number = 0 } - console.log(number, lineinputValue.toFixed(1), typeof (number), typeof (lineinputValue)) - if (number != lineinputValue.toFixed(1) && isInput == false) { - changeInputValue('lineinput', number.toFixed(1)) + console.log(number, lineinputValue, typeof (number), typeof (lineinputValue)) + if (number != lineinputValue && isInput == false) { + changeInputValue('lineinput', number) } } @@ -1407,8 +1407,8 @@ if (number == -0) { number = 0 } - console.log(number, mic1Value.toFixed(1), typeof (number), typeof (mic1Value)) - if (mic1Value.toFixed(1) != number && isInput == false) { + console.log(number, mic1Value, typeof (number), typeof (mic1Value)) + if (mic1Value != number && isInput == false) { changeInputValue('mic1', number) } } @@ -1451,8 +1451,8 @@ if (number == -0) { number = 0 } - console.log(number, mic2Value.toFixed(1), typeof (number), typeof (mic2Value)) - if (mic2Value.toFixed(1) != number && isInput == false) { + console.log(number, mic2Value, typeof (number), typeof (mic2Value)) + if (mic2Value != number && isInput == false) { changeInputValue('mic2', number) } } @@ -1496,8 +1496,8 @@ if (number == -0) { number = 0 } - console.log(number, outputValue.toFixed(1), typeof (number), typeof (outputValue)) - if (outputValue.toFixed(1) != number && isInput == false) { + console.log(number, outputValue, typeof (number), typeof (outputValue)) + if (outputValue != number && isInput == false) { changeInputValue('output', number) } }