We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 496b018 commit 73f07b2Copy full SHA for 73f07b2
src/InputSpinner.js
@@ -580,7 +580,7 @@ class InputSpinner extends Component {
580
num = Math.round(num / this.state.longStep) * this.state.longStep;
581
}
582
if (this.isTypeDecimal()) {
583
- num = num.toFixed(this.props.precision) * 1
+ num = Number(num.toFixed(this.props.precision));
584
585
586
if (
@@ -636,9 +636,9 @@ class InputSpinner extends Component {
636
637
638
639
640
641
-
+
642
643
this.isMinReached(currentValue) &&
644
!this.isEmptied() &&
0 commit comments