diff --git a/script.js b/script.js index 0252b35..d3d624f 100644 --- a/script.js +++ b/script.js @@ -31,7 +31,7 @@ document.addEventListener('DOMContentLoaded', function() { const integerPart = Math.floor(totalAgeInYears); const decimalPart = (totalAgeInYears - integerPart).toFixed(9); // Keep 6 decimal places - stopwatchElement.innerHTML = `${integerPart} .${decimalPart.substring(2)} years`; + stopwatchElement.innerHTML = `${integerPart} .${decimalPart.substring(2)}`; }, 100); } });