fix(react,utils): Change imperial step to 1/16 in.
This commit is contained in:
parent
b3a45962ef
commit
bfc2296cec
2 changed files with 12 additions and 6 deletions
|
@ -389,7 +389,7 @@ export function measurementAsMm(value, units = 'metric') {
|
|||
|
||||
/** convert a millimeter value to a Number value in the given units */
|
||||
export function measurementAsUnits(mmValue, units = 'metric') {
|
||||
return round(mmValue / (units === 'imperial' ? 25.4 : 10), 3)
|
||||
return round(mmValue / (units === 'imperial' ? 25.4 : 10), 4)
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue