diff --git a/addon/hint/sql-hint.js b/addon/hint/sql-hint.js index ed8f6d856c..4e84ab9b91 100644 --- a/addon/hint/sql-hint.js +++ b/addon/hint/sql-hint.js @@ -184,7 +184,7 @@ } function convertNumberToCur(num) { - return Pos(Math.floor(num), +num.toString().split('.').pop()); + return Pos(Math.floor(num), +num.toFixed(6).toString().split('.').pop()); } function findTableByAlias(alias, editor) {