영카트4 가격 .00 두개 0 더 나오는데 지울수 있는방법은
영카트4 가격 .00 두개 0 더 나오는데 지울수 있는방법은
없을까요
없을까요
첨부파일
|
댓글을 작성하시려면 로그인이 필요합니다.
로그인
댓글 5개
예제
<?
echo sprintf("%.0f", ($it[it_cust_amount] - get_amount($it)) / $it[it_cust_amount] * 100);
?>
홈페이지 주소는 http://www.cnywsj.net/
문제점 찾아어요
var amount = basic_amount + opt1 + opt2 + opt3 + opt4 + opt5 + opt6;
var point = parseFloat(basic_point);
if (typeof(f.it_amount) != 'undefined')
f.it_amount.value = amount;
if (typeof(f.disp_sell_amount) != 'undefined')
f.disp_sell_amount.value = number_format(String(amount * ct_qty));
if (typeof(f.disp_cust_amount) != 'undefined')
f.disp_cust_amount.value = number_format(String(cust_amount * ct_qty));
if (typeof(f.it_point) != 'undefined') {
f.it_point.value = point;
f.disp_point.value = number_format2(String(point * ct_qty));
여기에 number_format2 추가 하면 00두개가 나와요