Skip to content

Commit

Permalink
set default precision to 2
Browse files Browse the repository at this point in the history
  • Loading branch information
mck committed Nov 23, 2023
1 parent 528d88c commit 3f73235
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/graph-engine/src/nodes/series/arithmetic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export const defaults = {
stepsDown: 0,
steps: 1,
increment: 1,
precision: 0,
precision: 2,
};

export const process = (input, state) => {
Expand Down
2 changes: 1 addition & 1 deletion packages/graph-engine/src/nodes/series/geometric.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export const defaults = {
ratio: 1.5,
stepsDown: 0,
steps: 5,
precision: 0,
precision: 2,
};

type GeometricValue = {
Expand Down
2 changes: 1 addition & 1 deletion packages/graph-engine/src/nodes/series/harmonic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export const defaults = {
stepsDown: 0,
steps: 5,
notes: 1,
precision: 0,
precision: 2,
};

type HarmonicValue = {
Expand Down

0 comments on commit 3f73235

Please sign in to comment.