채택완료

function 카운트 질문

2019-03-09 (토) 04:20:16 2,244

Copy
this.printUserCount = function(count) {
            if (count > 0) {
                $(".userCount").text("("+LANG.personCount.replace('{count}',count)+")");
            } else {
                $(".userCount").text("");
            }
 
        

이와같이 카운트값을 나타내는데 {conunt}를 * 3배 이렇게 적용할수 없나요?

|

답변 1개

채택된 답변
+20 포인트

count *= 3; // 이렇게 한줄 추가하시고 해 보시죠.

if (count > 0) { ......

답변을 작성하려면 로그인이 필요합니다.