code format
This commit is contained in:
parent
35e32a32e8
commit
c2e45eb36c
1 changed files with 2 additions and 2 deletions
|
|
@ -103,8 +103,8 @@ export const xen = register('xen', function (scaleNameOrRatios, pat) {
|
|||
const { n, value, ...otherValues } = hVal;
|
||||
const scale = getXenScale(scaleNameOrRatios);
|
||||
let frequency = xenOffset(scale, parseNumeral(hVal.n));
|
||||
// 10 is somewhat arbitrary
|
||||
frequency = parseFloat(frequency.toPrecision(10))
|
||||
// 10 is somewhat arbitrary
|
||||
frequency = parseFloat(frequency.toPrecision(10));
|
||||
hap.value = isObject ? {...otherValues, freq: frequency } : frequency
|
||||
return hap;
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue