intelicoreact 1.1.90 → 1.1.91
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -289,7 +289,7 @@ var filterFloat = function filterFloat(inputValue) {
|
|
|
289
289
|
return replacer(previousValue);
|
|
290
290
|
}
|
|
291
291
|
|
|
292
|
-
if (Number(output)) {
|
|
292
|
+
if (output.includes('.') && output[output.indexOf('.') + 3] !== undefined && Number(output)) {
|
|
293
293
|
output = Number(output).toFixed(decimalPlaces);
|
|
294
294
|
}
|
|
295
295
|
|