rc-input-number
Advanced tools
Comparing version 2.5.0 to 2.5.1
@@ -171,3 +171,3 @@ 'use strict'; | ||
var precision = this.getPrecision(); | ||
return Number(num).toFixed(precision); | ||
return Number(Number(num).toFixed(precision)); | ||
}, | ||
@@ -174,0 +174,0 @@ |
{ | ||
"name": "rc-input-number", | ||
"version": "2.5.0", | ||
"version": "2.5.1", | ||
"description": "input-number ui component for react", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -96,3 +96,3 @@ # rc-input-number | ||
<td>step</td> | ||
<td>Number</td> | ||
<td>Number or String</td> | ||
<td>1</td> | ||
@@ -99,0 +99,0 @@ <td>Specifies the legal number intervals</td> |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
18584