Commit 740248bc authored by JuniorTour's avatar JuniorTour Committed by hetech

InputNumber: remove unnecessary parseFloat (#14172)

parent 1ec0821e
......@@ -174,7 +174,7 @@
methods: {
toPrecision(num, precision) {
if (precision === undefined) precision = this.numPrecision;
return parseFloat(parseFloat(Number(num).toFixed(precision)));
return parseFloat(Number(num).toFixed(precision));
},
getPrecision(value) {
if (value === undefined) return 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment