//轉錢格式 函式
function money_data(in_num)
{
//0為小數後幾位
money_format = number_format(in_num, 0, '.', ',');
return money_format;
}
//錢轉回數字
function money_to_num(in_num)
{
money_format = str_replace(",","",in_num);
return money_format;
}
文章標籤
全站熱搜
