rounding to 2 decimals

This commit is contained in:
csawatzky 2025-07-28 15:37:22 -06:00
parent e662645fa2
commit b6df61625d

View file

@ -261,7 +261,7 @@ function unitConversion(
newVals.forEach((val, i) => { newVals.forEach((val, i) => {
val.values.forEach((v, j) => { val.values.forEach((v, j) => {
//convert m/s to ft/m by multiplying by 196.9 //convert m/s to ft/m by multiplying by 196.9
newVals[i].values[j] = Math.round(v * 196.9) newVals[i].values[j] = Math.round((v * 196.9)*100) /100
}); });
}); });
} }