rounding to 2 decimals
This commit is contained in:
parent
e662645fa2
commit
b6df61625d
1 changed files with 1 additions and 1 deletions
|
|
@ -261,7 +261,7 @@ function unitConversion(
|
|||
newVals.forEach((val, i) => {
|
||||
val.values.forEach((v, j) => {
|
||||
//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
|
||||
});
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue