Skip to content

Commit

Permalink
Update script.js
Browse files Browse the repository at this point in the history
  • Loading branch information
clusslin authored Feb 8, 2024
1 parent 96beb24 commit 382f57d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ function updateValues() {
const enhancementPercent = parseFloat(document.getElementById('enhancementPercent').value); // 更新

document.getElementById('enhancementPercentDisplay').textContent = enhancementPercent + '%';
const ptd1 = ((contrastTotal / injectionRate) - scanTime * (enhancementPercent / 100)).toFixed(1);
const ptd1 = (((contrastTotal / injectionRate) - scanTime * (enhancementPercent / 100)).toFixed(1);
const ptd2 = (parseFloat(ptd1) + scanTime + 4).toFixed(1);
const ptd3 = (parseFloat(ptd2) + scanTime + 4).toFixed(1);

Expand Down

0 comments on commit 382f57d

Please sign in to comment.