Skip to content

Commit

Permalink
修改精度设置
Browse files Browse the repository at this point in the history
  • Loading branch information
zcZhang123 committed Feb 25, 2019
1 parent ee8d09b commit c8bc1d1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/js/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ export const getClientHeight = () => {

export const formatDecimal = function (f, n, sep) {
// var num = parseFloat(f);
n = parseInt(n)
if (isNaN(f)) {
return f;
}
Expand Down

0 comments on commit c8bc1d1

Please sign in to comment.