Skip to content

Commit

Permalink
Merge pull request #111 from BoostV/bug/variable_rounding_error
Browse files Browse the repository at this point in the history
Fix variable rounding error

Closes #110
  • Loading branch information
langdal committed Sep 24, 2021
2 parents c2f1bd5 + 1482d98 commit 031be7b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/input-model/value-variable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export default function ValueVariable(props: ValueVariableProps) {
fullWidth
margin="dense"
label="Min"
transform={e => parseInt(e)}
transform={e => parseFloat(e)}
/>
</Box>
<Box className={classes.narrowInput}>
Expand All @@ -61,7 +61,7 @@ export default function ValueVariable(props: ValueVariableProps) {
fullWidth
margin="dense"
label="Max"
transform={e => parseInt(e)}
transform={e => parseFloat(e)}
/>
</Box>
</Box>
Expand Down

0 comments on commit 031be7b

Please sign in to comment.