Skip to content

Commit 417fc92

Browse files
committed
fix off by one CRP error
1 parent 6e0e673 commit 417fc92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

LongevityWorldCup.Website/wwwroot/onboarding/pheno-age.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -800,7 +800,7 @@ <h2 data-aos="fade" data-aos-duration="700" data-aos-delay="250">
800800
AlbGL: parseFloat(document.getElementById('albumin').value) / parseFloat(document.getElementById('albuminUnit').value),
801801
CreatUmolL: parseFloat(document.getElementById('creatinine').value) / parseFloat(document.getElementById('creatinineUnit').value),
802802
GluMmolL: parseFloat(document.getElementById('glucose').value) / parseFloat(document.getElementById('glucoseUnit').value),
803-
CrpMgL: parseFloat(document.getElementById('crp').value) / parseFloat(document.getElementById('crpUnit').value),
803+
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
804804
LymPc: parseFloat(document.getElementById('lymphocyte').value),
805805
McvFL: parseFloat(document.getElementById('mcv').value),
806806
RdwPc: parseFloat(document.getElementById('rcdw').value),

0 commit comments

Comments
 (0)