rounding the ft/m conversion
This commit is contained in:
parent
cd06fcb6dd
commit
e662645fa2
1 changed files with 1 additions and 1 deletions
|
|
@ -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] = v * 196.9
|
newVals[i].values[j] = Math.round(v * 196.9)
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue