#세자리마다 콤마# 정수형 숫자에 표시하기! 값이 0인경우 Null 출력 하기String.Format("{0:##,##}" 변수명);?1234567891011121314int total_cost = 12140104;int total_money_cost = 8278383;int total_card_cost = -7215663;int total_point_cost = 12280; string output = null;output = "";output += "" + "" + dsResult.Tables[0].Select().Length + "" + "";output += "" + "" + String.Format("{0:##,##}", total_money_cost) + "" + "";output += "" + "" + String.Format("{0:.. 2015. 6. 2. 이전 1 다음