Skip to content

Commit

Permalink
fix off by one CRP error
Browse files Browse the repository at this point in the history
  • Loading branch information
nopara73 committed Jan 30, 2025
1 parent 6e0e673 commit 417fc92
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -800,7 +800,7 @@ <h2 data-aos="fade" data-aos-duration="700" data-aos-delay="250">
AlbGL: parseFloat(document.getElementById('albumin').value) / parseFloat(document.getElementById('albuminUnit').value),
CreatUmolL: parseFloat(document.getElementById('creatinine').value) / parseFloat(document.getElementById('creatinineUnit').value),
GluMmolL: parseFloat(document.getElementById('glucose').value) / parseFloat(document.getElementById('glucoseUnit').value),
CrpMgL: parseFloat(document.getElementById('crp').value) / parseFloat(document.getElementById('crpUnit').value),
CrpMgL: (parseFloat(document.getElementById('crp').value) / parseFloat(document.getElementById('crpUnit').value)) * 10, // Multiply by 10 because we assigned 10x multiplier for mg/L as the base unit
LymPc: parseFloat(document.getElementById('lymphocyte').value),
McvFL: parseFloat(document.getElementById('mcv').value),
RdwPc: parseFloat(document.getElementById('rcdw').value),
Expand Down

0 comments on commit 417fc92

Please sign in to comment.