rc-input-number
Advanced tools
Comparing version 2.5.1 to 2.5.2
@@ -177,3 +177,4 @@ 'use strict'; | ||
var precisionFactor = this.getPrecisionFactor(); | ||
return (precisionFactor * val + precisionFactor * stepNum) / precisionFactor; | ||
var result = (precisionFactor * val + precisionFactor * stepNum) / precisionFactor; | ||
return this.toPrecisionAsStep(result); | ||
}, | ||
@@ -184,3 +185,4 @@ | ||
var precisionFactor = this.getPrecisionFactor(); | ||
return (precisionFactor * val - precisionFactor * stepNum) / precisionFactor; | ||
var result = (precisionFactor * val - precisionFactor * stepNum) / precisionFactor; | ||
return this.toPrecisionAsStep(result); | ||
}, | ||
@@ -187,0 +189,0 @@ |
{ | ||
"name": "rc-input-number", | ||
"version": "2.5.1", | ||
"version": "2.5.2", | ||
"description": "input-number ui component for react", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
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
18682
355