Fix float parse

This commit is contained in:
Vortrex
2021-10-06 15:44:14 -05:00
parent 698fd4b54b
commit cf5139dcc5

View File

@@ -291,7 +291,7 @@ function toInteger(val) {
// =========================================================================== // ===========================================================================
function toFloat(val, fixed = 2) { function toFloat(val, fixed = 2) {
return parseFloat((val).toFixed(fixed)); return parseFloat(val);
} }
// =========================================================================== // ===========================================================================