Skip to content

Commit

Permalink
자바스크립트 함수 number_format 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
thisgun committed Oct 16, 2017
1 parent 2c7f9bd commit 2fe00e5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions js/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ function number_format(data)
var cutlen = 3;
var comma = ',';
var i;

data = data + '';

var sign = data.match(/^[\+\-]/);
if(sign) {
Expand Down

0 comments on commit 2fe00e5

Please sign in to comment.