人民幣大寫金額轉(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é)果將傳回人民幣金額大寫字符串. 如果 CashAmount = 0 或數(shù)值溢出(超出萬億位),結(jié)果返回空串. 2.說明: -------- A.本轉(zhuǎn)換程序最大程度只支持到萬億元(位)的金額數(shù)值轉(zhuǎn)換操作.如果你的 轉(zhuǎn)換數(shù)值超出此極限,你可以在調(diào)用前先行判斷數(shù)據(jù)的合法性,如果沒有作預(yù) 先判斷,轉(zhuǎn)換過程中將引發(fā)本單元中自帶的錯(cuò)誤處理例程. b.該轉(zhuǎn)換結(jié)果符合標(biāo)準(zhǔn)金額大寫書寫格式,零角零分等字樣不存在于最終的 轉(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
--- ----initial------- MOVLA 00H IODIR PA IODIR PB IODIR PC MOVAM PA MOVAM BSR MOVAM STATUS MOVAM TMR0 MOVAM TMR1 MOVAM TMR2 -------end initial----- -------------乘法運(yùn)算------------ 乘數(shù)->10H 被乘數(shù)->11h 結(jié)果(積)->12H 14H 15H 16H 17H(中間運(yùn)算) --------------------------------- MOVLA 05H 乘數(shù)
標(biāo)簽: IODIR MOVAM initial MOVLA
上傳時(shí)間: 2015-06-25
上傳用戶:sqq
This file contains a new and improved version of the Huffman coder, (June 29. 2001). The name is Huff06.m. There are also some additional files which are helpful when using Matlab for data compression: quantizer, different variants of run-length-encoding and end-of-block coding in Mat2Vec, and a program which do JPEG-like entropy coding. A complete compression example is shown in TestMat2Vec.m. This file is all you need for Huffman coding in MatLab.
標(biāo)簽: contains improved Huffman version
上傳時(shí)間: 2015-07-05
上傳用戶:jeffery
An example to illustrate how to set the internal adjustable CID gain and receive FSK or DTMF data. Assume end-code of DTMF data string is "D".
標(biāo)簽: adjustable illustrate internal example
上傳時(shí)間: 2015-07-05
上傳用戶:nairui21
參照棧類模板的例子編寫一個(gè)隊(duì)列類模板class <T> Queue,私有成員包括:隊(duì)首指針Front,隊(duì)尾指針Tail,隊(duì)列容積max。實(shí)現(xiàn):構(gòu)造函數(shù)Queue,析構(gòu)函數(shù),入隊(duì)函數(shù)In,出隊(duì)函數(shù)Out(每次出隊(duì),后面的元素自動(dòng)前移一位),判隊(duì)列空函數(shù)Empty。并分別用隊(duì)列類模板定義int和float對(duì)象,調(diào)用各個(gè)成員函數(shù)
上傳時(shí)間: 2013-12-03
上傳用戶:BIBI
1. PL/0 語言介紹 ●PL/0 程序設(shè)計(jì)語言是一個(gè)較簡(jiǎn)單的語言,它以賦值語句為基礎(chǔ),構(gòu)造概念有順序、條件和重復(fù)(循環(huán))三種。PL/0 有子程序概念,包括過程定義(可以嵌套)與調(diào)用且有局部變量說明。PL/0語言編譯程序采用以語法分析為核心、一遍掃描的編譯方法。詞法分析和代碼生成作為獨(dú)立的子程序供語法分析程序調(diào)用。語法分析的同時(shí),提供了出錯(cuò)報(bào)告和出錯(cuò)恢復(fù)的功能。在源程序沒有錯(cuò)誤編譯通過的情況下,調(diào)用類PCODE解釋程序解釋執(zhí)行生成的類PCODE代碼。 ●保留字(關(guān)鍵字):所謂保留字是指在Pascal語言中具有特定的含義。標(biāo)準(zhǔn)Pascal語言中的保留字一共有35個(gè),Turbo Pascal語言一共有51個(gè)。下面是Pascal語言的保留字:AND,ARRAY,BEGIN,CASE,CONST,DIV,DO,DOWNTO,ELSE,END,F(xiàn)ILE,F(xiàn)OR,F(xiàn)UNTION,GOTO,IF,IN,LABEL,MOD,NIL,NOT,OF,OR,PACKED,PROCEDURE,PROGRAM,RECORD,REPEAT,SET,THEN,TO,TYPE,UNTIL,VAR,WHILE,WITH,EXPORTS,SHR,STRING,ASM,OBJECT,UNIT,CONSTRUCTOR,IMPLEMENTATION,DESTRUCTOR,USES,INHERITED,INLINE,INTERFACE,LIBRARY,XOR,SHL
標(biāo)簽: PL 語言 程序設(shè)計(jì)語言
上傳時(shí)間: 2015-07-17
上傳用戶:zm7516678
MCRGSA------組播路由問題遺傳模擬退火算法 %M-----------遺傳算法進(jìn)化代數(shù) %N-----------種群規(guī)模,取偶數(shù) %Pm----------變異概率調(diào)節(jié)參數(shù) %K-----------同一溫度下狀態(tài)跳轉(zhuǎn)次數(shù) %t0----------初始溫度 %alpha-------降溫系數(shù) %beta--------濃度均衡系數(shù) %ROUTES------備選路徑集 %Num---------到各節(jié)點(diǎn)的備選路徑數(shù)目 %Cost--------費(fèi)用鄰接矩陣 %Source------源節(jié)點(diǎn)標(biāo)號(hào) %End---------目的節(jié)點(diǎn)標(biāo)號(hào)組成的向量 %MBR---------各代最優(yōu)路徑編碼
標(biāo)簽: MCRGSA 組播路由 模擬退火算法 模
上傳時(shí)間: 2015-07-18
上傳用戶:363186
This text surrounds the development of the electric power SCADA system exactly, aiming at the present condition of the our country electric power charged barbed wire net currently, according to the oneself at the e- lectric power protect the profession after the electricity in seven years of development, design and adjust to try the experience on the scene from following severals carry on the treatise:Is the emergence to the system of SC- ADA and developments to introduce first Carry on the introduction elucidation to applied present condition and the development foregrounds of various terminal equipments communication agreement(rules invite) the next in order Then is the elucidation to the windows the bottom according to the mfc the plait distance environment an- d VC++6.0 plait distance softwares Carry on the more detailed treatise to the realization of the procedure struct- ure frame and the source code again End is the applied case example give examples.
標(biāo)簽: the development surrounds electric
上傳時(shí)間: 2014-10-28
上傳用戶:liuchee
請(qǐng)?jiān)O(shè)計(jì)程序,使其實(shí)現(xiàn)以秒計(jì)時(shí)的功能。首先定義一個(gè)watch類,它有兩個(gè)私有變量begin、end分別表示開始時(shí)間、結(jié)束時(shí)間,有成員函數(shù)start()、stop()、show()分別用來設(shè)置開始時(shí)間、結(jié)束時(shí)間、顯示持續(xù)時(shí)間。
標(biāo)簽: 設(shè)計(jì)程序
上傳時(shí)間: 2013-12-12
上傳用戶:2467478207
Ship version 1.7--utility to encode, split, and mail binary data and reconstruct the data at the other end (ship will unship).
標(biāo)簽: data reconstruct and the
上傳時(shí)間: 2015-07-24
上傳用戶:rocketrevenge
蟲蟲下載站版權(quán)所有 京ICP備2021023401號(hào)-1