人民幣大寫(xiě)金額轉(zhuǎn)換程序(修正版v0.0.3) =================================== 1.使用方法: ------------- 將Cash_RMB.dcu放入Delphi安裝目錄下的Lib中,在uses中加入Cash_RMB, 即可引用CashRMB方法. function CashRMB(CashAmount: Double): String 如: procedure TForm1.Button1Click(Sender: TObject) begin QRLabel1.Caption := CashRMB(Table1.FieldByName( 金額 ).AsFloat) end 結(jié)果將傳回人民幣金額大寫(xiě)字符串. 如果 CashAmount = 0 或數(shù)值溢出(超出萬(wàn)億位),結(jié)果返回空串. 2.說(shuō)明: -------- A.本轉(zhuǎn)換程序最大程度只支持到萬(wàn)億元(位)的金額數(shù)值轉(zhuǎn)換操作.如果你的 轉(zhuǎn)換數(shù)值超出此極限,你可以在調(diào)用前先行判斷數(shù)據(jù)的合法性,如果沒(méi)有作預(yù) 先判斷,轉(zhuǎn)換過(guò)程中將引發(fā)本單元中自帶的錯(cuò)誤處理例程. b.該轉(zhuǎn)換結(jié)果符合標(biāo)準(zhǔn)金額大寫(xiě)書(shū)寫(xiě)格式,零角零分等字樣不存在于最終的 轉(zhuǎn)換結(jié)果中. c.本轉(zhuǎn)換程序自帶數(shù)據(jù)溢出等數(shù)據(jù)非法及轉(zhuǎn)換錯(cuò)誤等處理例程. d.本程序適用于32位的Delphi版本.
標(biāo)簽: Cash_RMB dcu 轉(zhuǎn)換 程序
上傳時(shí)間: 2013-12-31
上傳用戶:hebmuljb
This demo develops the steady-state characteristics of an induction motor First start the simulation, then Double click the <PLOTS> block to view torque-speed and current-speed curves and the current circle diagram
標(biāo)簽: characteristics steady-state simulation the
上傳時(shí)間: 2013-11-29
上傳用戶:daguda
暫時(shí)只支持jpeg2000支持的 cdf97 和spline53 可以這樣來(lái)測(cè)試: x=imread( E:\study\jpeg2000\images\lena.tif ) % see the decomposition coefficients y=wavelift(x, 1, spl53 ) using spline 5/3 wavelet figure subplot(1,2,1) imshow(x) subplot(1,2,2) imshow(mat2gray(y)) % see the reconstruction precision yy=wavelift(x, 5) using cdf 9/7 wavelet ix=wavelift(yy,-5) inverse sum(sum((double(x)-ix).^2))
標(biāo)簽: 2000 imageslena studyjpeg imread
上傳時(shí)間: 2014-01-14
上傳用戶:懶龍1988
剖析Intel IA32 架構(gòu)下C 語(yǔ)言及CPU 浮點(diǎn)數(shù)機(jī)制 Version 0.01 哈爾濱工業(yè)大學(xué) 謝煜波 (email: xieyubo@126.com 網(wǎng)址:http://purec.binghua.com) (QQ:13916830 哈工大紫丁香BBSID:iamxiaohan) 前言 這兩天翻看一本C 語(yǔ)言書(shū)的時(shí)候,發(fā)現(xiàn)上面有一段這樣寫(xiě)到 例:將同一實(shí)型數(shù)分別賦值給單精度實(shí)型和雙精度實(shí)型,然后打印輸出。 #include <stdio.h> main() { float a double b a = 123456.789e4 b = 123456.789e4 printf(“%f\n%f\n”,a,b) } 運(yùn)行結(jié)果如下:
標(biāo)簽: Version xieyubo Intel email
上傳時(shí)間: 2013-12-25
上傳用戶:徐孺
Please place this entire folder (complete with contents) into your System32 directory folder Double click on the Register .bat file to Register Double click on the UnRegister .bat file to UnRegister It s as simple as that! Cheers
標(biāo)簽: folder directory complete contents
上傳時(shí)間: 2013-12-23
上傳用戶:jyycc
函數(shù)模板T max(T a, T b, T c),使之實(shí)現(xiàn)對(duì)任何類型數(shù),能從三個(gè)數(shù)中求出最大數(shù)返回。設(shè)計(jì)各種類型數(shù)據(jù)(char,short,long,float,double)調(diào)用此函數(shù)模板。
上傳時(shí)間: 2015-07-07
上傳用戶:時(shí)代電子小智
A dynamic-link library (DLL) contains one or more subprogram procedures (functions or subroutines) that are compiled, linked, and stored separately from the applications using them. Because the functions or subroutines are separate from the applications using them, they can be shared or replaced easily.
標(biāo)簽: dynamic-link subroutines subprogram procedures
上傳時(shí)間: 2014-01-15
上傳用戶:yyyyyyyyyy
//=== === === === === === === === === === === ===== //函數(shù)說(shuō)明 //函數(shù)名稱:Correlation //函數(shù)功能:計(jì)算最小二乘法擬合的多項(xiàng)式的相關(guān)系數(shù) //使用方法:int M------ 擬合多項(xiàng)式的階數(shù)(已知條件) // double *b--- 擬合曲線的系數(shù),排列順序?yàn)橛筛唠A到低階(已知條件) // double *x--- 結(jié)點(diǎn)x軸數(shù)據(jù)(已知條件) // double *y--- 結(jié)點(diǎn)y軸數(shù)據(jù)(已知條件) // double *Yg-- 結(jié)點(diǎn)估計(jì)值,個(gè)數(shù)為m(過(guò)程變量) // int m------ 結(jié)點(diǎn)個(gè)數(shù)(已知條件) //注意事項(xiàng):多項(xiàng)式階數(shù)最高為10,多項(xiàng)式的形式為 y = a0 + a1x +a2x2
標(biāo)簽: Correlation 函數(shù) 計(jì)算 最小二乘法擬合
上傳時(shí)間: 2013-11-26
上傳用戶:change0329
//=== === === === === === === === === === === ===== //函數(shù)說(shuō)明 //函數(shù)名稱:Correlation //函數(shù)功能:計(jì)算最小二乘法擬合的多項(xiàng)式的相關(guān)系數(shù) //使用方法:int M------擬合多項(xiàng)式的項(xiàng)數(shù)(已知條件) // double *b---擬合曲線的系數(shù),按升次排列(已知條件) // double *x---結(jié)點(diǎn)x軸數(shù)據(jù)(已知條件) // double *y---結(jié)點(diǎn)y軸數(shù)據(jù)(已知條件) // double *Yg--結(jié)點(diǎn)估計(jì)值,與*y相對(duì)應(yīng),個(gè)數(shù)為m(過(guò)程變量) // int m------結(jié)點(diǎn)個(gè)數(shù)(已知條件) //注意事項(xiàng):多項(xiàng)式階數(shù)最高為10,多項(xiàng)式的形式為 y = b0 + b1*(x-Xavr)...
標(biāo)簽: Correlation 函數(shù) 計(jì)算 最小二乘法擬合
上傳時(shí)間: 2014-11-23
上傳用戶:yxgi5
//=== === === === === === === === === === === === === === = //函數(shù)說(shuō)明 //函數(shù)名稱:PolyFit //函數(shù)功能:最小二乘法曲線擬合 //使用方法:double *x ---- 存放n個(gè)數(shù)據(jù)點(diǎn)的X坐標(biāo) // double *y ---- 存放n個(gè)數(shù)據(jù)點(diǎn)的Y坐標(biāo) // int n -------- 給定數(shù)據(jù)點(diǎn)個(gè)數(shù) // double *a ---- 返回m-1次擬合多項(xiàng)式的m個(gè)系數(shù) // int m -------- 擬合多項(xiàng)式的項(xiàng)數(shù),即擬合多項(xiàng)式的最高次為m-1。要求m<=n,且 // m<=20。若m>n或m>20,則本函數(shù)自動(dòng)按m=min{n,20}處理 // double *dt --- dt[0]返回?cái)M合多項(xiàng)式與各數(shù)據(jù)點(diǎn)誤差的平方和;dt[1]返回?cái)M合多 // 項(xiàng)式與各數(shù)據(jù)點(diǎn)的誤差絕對(duì)值之和;dt[2]返回?cái)M合多項(xiàng)式與各數(shù)據(jù) // 點(diǎn)誤差絕對(duì)值的最大值 //注意事項(xiàng):擬合多項(xiàng)式的形式為 y = b0 + b1*(x-Xavr)...
標(biāo)簽: PolyFit 函數(shù) 最小二乘法
上傳時(shí)間: 2015-07-19
上傳用戶:waizhang
蟲(chóng)蟲(chóng)下載站版權(quán)所有 京ICP備2021023401號(hào)-1