|
導讀數據庫,簡而言之可視為電子化的文件柜——存儲電子文件的處所,用戶可以對文件中的數據進行新增、截取、更新、刪除等操作。所謂“數據庫”是以一定方式儲存在一起、能與多個用戶共享、具有盡可能小的冗余度、與應... 數據庫,簡而言之可視為電子化的文件柜——存儲電子文件的處所,用戶可以對文件中的數據進行新增、截取、更新、刪除等操作。所謂“數據庫”是以一定方式儲存在一起、能與多個用戶共享、具有盡可能小的冗余度、與應用程序彼此獨立的數據集合。 /*轉換整整部分*/ for i = 1 to len_int /*a為小寫數字字符,b為對應的大寫字符,c為對應大寫單位,d為當前大寫字符串的最后一個漢字*/ a= mid(str_int,i,1) a_int = long(a) b = mid(dx_sz,(a_int*2)+1,2) c = mid(dx_dw,((13 - len_int +i - 1)*2+1),2) if dx_str<>"" then d=mid(dx_str,len(dx_str)-1,2) else d= "" end if if (b="零") and ((d="零") or (b=b2) or (c="元") or (c="萬") or (c="億")) then b = "" if (a="0") and (c<>"元") and (c<>"萬") and (c<>"億") then c="" if ((c="元") or (c="萬") or (c="億")) and (d="零") and (a="0") then dx_str = mid(dx_str,1,len(dx_str)-2) d=mid(dx_str,len(dx_str)-1,2) if ((c="元") and (d="萬")) or ((c="萬") and (d="億")) then c = "" end if dx_str = dx_str + b+ c b2 = b next /*處理金額小于1的情況*/ if len(dx_str) <= 2 then dx_str= "" /*轉換小數部分*/ if (num_dec<10) and (ls>0) then a_int = long(str_dec) b = mid(dx_sz,(a_int*2+1),2) if num_dec = 0 then dx_str = dx_str + "整" if num_dec > 0 then dx_str = dx_str +"零"+b+"分" end if if num_dec >= 10 then a_int = long(mid(str_dec,1,1)) a = mid(dx_sz,(a_int*2+1),2) a_int = long(mid(str_dec,2,1)) b = mid(dx_sz,(a_int*2+1),2) if a<>"零" then a = a+"角" if b <> "零" then b = b+"分" else b= "" end if dx_str = dx_str + a + b end if if ls= 0 then dx_str = "零元整" dx_str = fu+dx_str result = dx_str return result
全新的路由器不僅讓你更穩定快速地連接無線網絡,更可以讓家中的智能設備連接在一起。
|