⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 金额大小写转换.htm

📁 用拼音来检索汉字的算法
💻 HTM
📖 第 1 页 / 共 3 页
字号:
style="Z-INDEX: 1000; VISIBILITY: hidden; WIDTH: 1px; POSITION: absolute; HEIGHT: 1px; BACKGROUND-COLOR: #9cc5f8"></DIV>
<TABLE class=tdbg cellSpacing=0 cellPadding=0 width=760 align=center border=0>
  <TBODY>
  <TR class=nav_top>
    <TD>
      <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
        <TBODY>
        <TR>
          <TD>&nbsp;</TD>
          <TD class=title_maintxt width=600>|&nbsp;<A 
            href="http://www.topdelphi.net/Index.asp" 
            target=_blank>首页</A>&nbsp;|&nbsp;<A 
            href="http://www.topdelphi.net/Article_Index.asp" 
            target=_blank><FONT color=red>文章</FONT></A>&nbsp;|&nbsp;<A 
            href="http://www.topdelphi.net/Soft_Index.asp" 
            target=_blank>下载</A>&nbsp;|&nbsp;<A 
            href="http://www.topdelphi.net/Photo_Index.asp" 
            target=_blank>图片</A>&nbsp;|&nbsp;<A 
            href="http://www.topdelphi.net/bbs/index.asp" 
            target=_blank>论坛</A>&nbsp;|&nbsp;<A 
            href="http://www.topdelphi.net/guestbook.asp" 
            target=_blank>留言</A>&nbsp;|&nbsp; </TD></TR></TBODY></TABLE></TD></TR>
  <TR>
    <TD>
      <TABLE cellSpacing=0 cellPadding=0 width="100%" align=center>
        <TBODY>
        <TR>
          <TD height=4></TD></TR>
        <TR>
          <TD vAlign=center>
            <TABLE cellSpacing=0 cellPadding=0 width="100%" align=center 
            border=0>
              <TBODY>
              <TR vAlign=center>
                <TD width=180><A title=Delphi先锋网 
                  href="http://www.topdelphi.net/"><IMG height=60 
                  src="金额大小写转换.files/newlogo.gif" width=180 border=0></A> </TD>
                <TD width=500>
                  <DIV align=center><A title=Delphi先锋网 
                  href="http://www.topdelphi.net/"><IMG height=60 
                  src="金额大小写转换.files/xianfeng.gif" width=480 border=0></A> 
                </DIV></TD>
                <TD width=80>
                  <TABLE height="100%" cellSpacing=0 cellPadding=0 width="100%" 
                  align=center border=0>
                    <TBODY>
                    <TR vAlign=center>
                      <TD align=middle><IMG height=16 
                        src="金额大小写转换.files/home.gif" width=16 
align=absMiddle></TD>
                      <TD align=middle><A 
                        onclick="this.style.behavior='url(#default#homepage)';this.setHomePage('http://www.topdelphi.net')" 
                        href="http://www.topdelphi.net/Article_Show.asp?ArticleID=49#">设为首页</A></TD></TR>
                    <TR vAlign=center>
                      <TD align=middle><IMG height=17 
                        src="金额大小写转换.files/email.gif" width=16 
                      align=absMiddle></TD>
                      <TD align=middle><A 
                        href="mailto:delphilxh@163.com">联系站长</A></TD></TR>
                    <TR vAlign=center>
                      <TD align=middle><IMG height=16 
                        src="金额大小写转换.files/bookmark.gif" width=16 
                        align=absMiddle></TD>
                      <TD align=middle><A 
                        href="javascript:window.external.addFavorite('http://www.topdelphi.net','Delphi先锋网')">加入收藏</A></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR>
  <TR vAlign=center>
    <TD class=nav_menu vAlign=center>
      <SCRIPT language=JavaScript1.2 type=text/javascript>
<!--
stm_bm(['uueoehr',400,'','images/blank.gif',0,'','',0,0,0,0,0,1,0,0]);
stm_bp('p0',[0,4,0,0,2,2,0,0,100,'',-2,'',-2,90,0,0,'#000000','transparent','',3,0,0,'#000000']);
stm_ai('p0i0',[0,'|','','',-1,-1,0,'','_self','','','','',0,0,0,'','',0,0,0,0,1,'#f1f2ee',1,'#cccccc',1,'','',3,3,0,0,'#fffff7','#000000','#000000','#000000','9pt 宋体','9pt 宋体',0,0]);
stm_aix('p0i1','p0i0',[0,'文章首页','','',-1,-1,0,'Article_Index.asp','_self','Article_Index.asp','','','',0,0,0,'','',0,0,0,0,1,'#f1f2ee',1,'#cccccc',1,'','',3,3,0,0,'#fffff7','#ff0000','#000000','#cc0000','9pt 宋体','9pt 宋体']);
stm_aix('p0i2','p0i0',[0,'|','','',-1,-1,0,'','_self','','','','',0,0,0,'','',0,0,0,0,1,'#f1f2ee',1,'#cccccc',1,'','',3,3,0,0,'#fffff7','#000000','#000000','#000000','9pt 宋体','9pt 宋体',0,0]);
stm_aix('p0i3','p0i0',[0,'Object Pascal','','',-1,-1,0,'Article_Class2.asp?ClassID=8','_self','Article_Class2.asp?ClassID=8','Object Pascal的一些用法和资料','','',0,0,0,'','',0,0,0,0,1,'#f1f2ee',1,'#cccccc',1,'','',3,3,0,0,'#fffff7','#ff0000','#000000','#cc0000','9pt 宋体','9pt 宋体']);
stm_aix('p0i2','p0i0',[0,'|','','',-1,-1,0,'','_self','','','','',0,0,0,'','',0,0,0,0,1,'#f1f2ee',1,'#cccccc',1,'','',3,3,0,0,'#fffff7','#000000','#000000','#000000','9pt 宋体','9pt 宋体',0,0]);
stm_aix('p0i4','p0i0',[0,'Windows Api','','',-1,-1,0,'Article_Class2.asp?ClassID=1','_self','Article_Class2.asp?ClassID=1','有关api函数的技术文章','','',0,0,0,'','',0,0,0,0,1,'#f1f2ee',1,'#cccccc',1,'','',3,3,0,0,'#fffff7','#ff0000','#000000','#cc0000','9pt 宋体','9pt 宋体']);
stm_aix('p0i2','p0i0',[0,'|','','',-1,-1,0,'','_self','','','','',0,0,0,'','',0,0,0,0,1,'#f1f2ee',1,'#cccccc',1,'','',3,3,0,0,'#fffff7','#000000','#000000','#000000','9pt 宋体','9pt 宋体',0,0]);
stm_aix('p0i5','p0i0',[0,'网络编程技术','','',-1,-1,0,'Article_Class2.asp?ClassID=2','_self','Article_Class2.asp?ClassID=2','网络编程技巧','','',0,0,0,'','',0,0,0,0,1,'#f1f2ee',1,'#cccccc',1,'','',3,3,0,0,'#fffff7','#ff0000','#000000','#cc0000','9pt 宋体','9pt 宋体']);
stm_aix('p0i2','p0i0',[0,'|','','',-1,-1,0,'','_self','','','','',0,0,0,'','',0,0,0,0,1,'#f1f2ee',1,'#cccccc',1,'','',3,3,0,0,'#fffff7','#000000','#000000','#000000','9pt 宋体','9pt 宋体',0,0]);
stm_aix('p0i6','p0i0',[0,'图像处理','','',-1,-1,0,'Article_Class2.asp?ClassID=3','_self','Article_Class2.asp?ClassID=3','图像处理','','',0,0,0,'','',0,0,0,0,1,'#f1f2ee',1,'#cccccc',1,'','',3,3,0,0,'#fffff7','#ff0000','#000000','#cc0000','9pt 宋体','9pt 宋体']);
stm_aix('p0i2','p0i0',[0,'|','','',-1,-1,0,'','_self','','','','',0,0,0,'','',0,0,0,0,1,'#f1f2ee',1,'#cccccc',1,'','',3,3,0,0,'#fffff7','#000000','#000000','#000000','9pt 宋体','9pt 宋体',0,0]);
stm_aix('p0i7','p0i0',[0,'系统编程','','',-1,-1,0,'Article_Class2.asp?ClassID=4','_self','Article_Class2.asp?ClassID=4','系统编程','','',0,0,0,'','',0,0,0,0,1,'#f1f2ee',1,'#cccccc',1,'','',3,3,0,0,'#fffff7','#ff0000','#000000','#cc0000','9pt 宋体','9pt 宋体']);
stm_aix('p0i2','p0i0',[0,'|','','',-1,-1,0,'','_self','','','','',0,0,0,'','',0,0,0,0,1,'#f1f2ee',1,'#cccccc',1,'','',3,3,0,0,'#fffff7','#000000','#000000','#000000','9pt 宋体','9pt 宋体',0,0]);
stm_aix('p0i8','p0i0',[0,'算法大全','','',-1,-1,0,'Article_Class2.asp?ClassID=5','_self','Article_Class2.asp?ClassID=5','系统编程','','',0,0,0,'','',0,0,0,0,1,'#f1f2ee',1,'#cccccc',1,'','',3,3,0,0,'#fffff7','#ff0000','#000000','#cc0000','9pt 宋体','9pt 宋体']);
stm_aix('p0i2','p0i0',[0,'|','','',-1,-1,0,'','_self','','','','',0,0,0,'','',0,0,0,0,1,'#f1f2ee',1,'#cccccc',1,'','',3,3,0,0,'#fffff7','#000000','#000000','#000000','9pt 宋体','9pt 宋体',0,0]);
stm_aix('p0i9','p0i0',[0,'数据库应用','','',-1,-1,0,'Article_Class2.asp?ClassID=6','_self','Article_Class2.asp?ClassID=6','系统编程','','',0,0,0,'','',0,0,0,0,1,'#f1f2ee',1,'#cccccc',1,'','',3,3,0,0,'#fffff7','#ff0000','#000000','#cc0000','9pt 宋体','9pt 宋体']);
stm_aix('p0i2','p0i0',[0,'|','','',-1,-1,0,'','_self','','','','',0,0,0,'','',0,0,0,0,1,'#f1f2ee',1,'#cccccc',1,'','',3,3,0,0,'#fffff7','#000000','#000000','#000000','9pt 宋体','9pt 宋体',0,0]);
stm_aix('p0i10','p0i0',[0,'斑竹心得','','',-1,-1,0,'Article_Class2.asp?ClassID=7','_self','Article_Class2.asp?ClassID=7','斑竹编程一些心得和笔记','','',0,0,0,'','',0,0,0,0,1,'#f1f2ee',1,'#cccccc',1,'','',3,3,0,0,'#fffff7','#ff0000','#000000','#cc0000','9pt 宋体','9pt 宋体']);
stm_aix('p0i2','p0i0',[0,'|','','',-1,-1,0,'','_self','','','','',0,0,0,'','',0,0,0,0,1,'#f1f2ee',1,'#cccccc',1,'','',3,3,0,0,'#fffff7','#000000','#000000','#000000','9pt 宋体','9pt 宋体',0,0]);
stm_em();
//-->
</SCRIPT>
    </TD></TR>
  <TR class=nav_main>
    <TD></TD></TR>
  <TR>
    <TD class=nav_bottom></TD></TR></TBODY></TABLE>
<TABLE class=txt_css cellSpacing=0 cellPadding=0 width=760 align=center 
bgColor=#ffffff border=0>
  <TBODY>
  <TR vAlign=center>
    <TD width=46>
      <DIV align=right><IMG height=11 src="金额大小写转换.files/arrow3.gif" width=29 
      align=absMiddle> </DIV></TD>
    <TD width=556>&nbsp;您现在的位置:&nbsp;<A 
      href="http://www.topdelphi.net/">Delphi先锋网</A>&nbsp;&gt;&gt;&nbsp;<A 
      href="http://www.topdelphi.net/Article_Index.asp">文章</A>&nbsp;&gt;&gt;&nbsp;<A 
      href="http://www.topdelphi.net/Article_Class2.asp?ClassID=5">算法大全</A>&nbsp;&gt;&gt;&nbsp;正文 
    </TD>
    <TD align=right width=158>
      <SCRIPT language=JavaScript type=text/JavaScript>
var day="";
var month="";
var ampm="";
var ampmhour="";
var myweekday="";
var year="";
mydate=new Date();
myweekday=mydate.getDay();
mymonth=mydate.getMonth()+1;
myday= mydate.getDate();
myyear= mydate.getYear();
year=(myyear > 200) ? myyear : 1900 + myyear;
if(myweekday == 0)
weekday=" 星期日 ";
else if(myweekday == 1)
weekday=" 星期一 ";
else if(myweekday == 2)
weekday=" 星期二 ";
else if(myweekday == 3)
weekday=" 星期三 ";
else if(myweekday == 4)
weekday=" 星期四 ";
else if(myweekday == 5)
weekday=" 星期五 ";
else if(myweekday == 6)
weekday=" 星期六 ";
document.write(year+"年"+mymonth+"月"+myday+"日 "+weekday);
</SCRIPT>
      &nbsp;</TD></TR></TBODY></TABLE>
<TABLE class=border2 cellSpacing=0 cellPadding=0 width=760 align=center 
border=0>
  <TBODY>
  <TR>
    <TD vAlign=top>
      <TABLE class=border cellSpacing=0 cellPadding=2 width="100%" align=center 
      border=0>
        <TBODY>
        <TR>
          <TD class=title>
            <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
              <TBODY>
              <TR>
                <TD class=title_maintxt vAlign=center width="82%">&nbsp;<IMG 
                  height=14 src="金额大小写转换.files/arrow.gif" width=11 
                  align=absMiddle> 金额大小写转换 </TD>
                <TD class=title_maintxt width="18%">&nbsp;&nbsp;&nbsp;<FONT 
                  color=red>热</FONT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<FONT 
                  color=#009900>★★★</FONT> </TD></TR></TBODY></TABLE></TD></TR>
        <TR vAlign=center align=middle>
          <TD colSpan=2 height=40><FONT size=4><STRONG>金额大小写转换</STRONG></FONT> 
          </TD></TR>
        <TR class=tdbg_rightall align=middle>
          <TD colSpan=2>[ 
            作者:佚名&nbsp;&nbsp;&nbsp;&nbsp;转贴自:本站原创&nbsp;&nbsp;&nbsp;&nbsp;点击数:817&nbsp;&nbsp;&nbsp;&nbsp;更新时间:2004-5-28&nbsp;&nbsp;&nbsp;&nbsp;文章录入:<A 
            href="http://www.topdelphi.net/UserInfo.asp?UserID=2">delphilxh</A> 
          ]</TD></TR>
        <TR>
          <TD colSpan=2>
            <TABLE style="WORD-BREAK: break-all" cellSpacing=5 cellPadding=0 
            width=740 align=center border=0>
              <TBODY>
              <TR>
                <TD vAlign=top height=200>
                  <TABLE cellSpacing=0 cellPadding=10 align=left border=0>
                    <TBODY>
                    <TR>
                      <TD></TD></TR></TBODY></TABLE>
                  <P>金额大小写转换<BR>function My_StrToRMB(curs :string) 
                  :string;<BR>implementation</P>
                  <P>function&nbsp; My_StrToRMB(curs: string) :string 
                  ;<BR>var<BR>&nbsp; daxie,danwei,minuscurs:string;<BR>&nbsp; 
                  i,j,deccount :integer ;<BR>&nbsp; rmb :int64;</P>
                  <P>begin<BR>&nbsp; curs:=trim(curs);<BR>&nbsp; if (curs='-') 
                  or (curs='.') or (curs='') then&nbsp; // '.','-',''错<BR>&nbsp; 
                  begin<BR>&nbsp;&nbsp;&nbsp; 
                  result:='ERROR';<BR>&nbsp;&nbsp;&nbsp; exit;<BR>&nbsp; 
                  end;<BR>&nbsp; deccount :=0;<BR>&nbsp; for i:=1 to 
                  length(curs) do<BR>&nbsp; begin<BR>&nbsp;&nbsp;&nbsp; if&nbsp; 
                  not (curs[i]&nbsp; in ['0'..'9','.','-']) 
                  then&nbsp;&nbsp;&nbsp;&nbsp; //'123w2'错<BR>&nbsp;&nbsp;&nbsp; 
                  begin<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
                  result:='ERROR';<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
                  exit;<BR>&nbsp;&nbsp;&nbsp; end;<BR>&nbsp;&nbsp;&nbsp; if 
                  (curs[i]='.') and (deccount&gt;0) then&nbsp; 
                  //'12313.324.23'错<BR>&nbsp;&nbsp;&nbsp; 
                  begin<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
                  result:='ERROR';<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
                  exit;<BR>&nbsp;&nbsp;&nbsp; end;<BR>&nbsp;&nbsp;&nbsp; if 
                  (curs[i]='-') and (i&gt;1) 
                  then&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
                  //'-123-123'错<BR>&nbsp;&nbsp;&nbsp; 
                  begin<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
                  result:='ERROR';<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
                  exit;<BR>&nbsp;&nbsp;&nbsp; end;<BR>&nbsp;&nbsp;&nbsp; if 
                  curs[i]='.' then&nbsp; inc(deccount);<BR>&nbsp; end;<BR>&nbsp; 
                  rmb:=round(StrToFloat(curs)*100);<BR>&nbsp; 
                  minuscurs:='';&nbsp; //负数标志<BR>&nbsp; if rmb&lt;0 
                  then<BR>&nbsp; begin<BR>&nbsp;&nbsp;&nbsp; minuscurs:='(负数)' 
                  ;<BR>&nbsp;&nbsp;&nbsp; rmb:=(-1)*rmb;<BR>&nbsp; 
                  end;<BR>&nbsp; if rmb&gt;=1E18 then&nbsp;&nbsp;&nbsp;&nbsp; 
                  //超过9千万亿<BR>&nbsp; begin<BR>&nbsp;&nbsp;&nbsp; 
                  result:='ERROR';<BR>&nbsp;&nbsp;&nbsp; exit;<BR>&nbsp; 
                  end;<BR>&nbsp; curs:='';<BR>&nbsp; i:=0; j:=0 ;<BR>&nbsp; 
                  while rmb&gt;0 do<BR>&nbsp; begin<BR>&nbsp;&nbsp;&nbsp; j:= 
                  rmb mod 10;<BR>&nbsp;&nbsp;&nbsp; case j 
                  of<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0 : daxie :='零' 
                  ;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1 : daxie :='壹' 
                  ;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2 : daxie :='贰' 
                  ;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 3 : daxie :='叁' 
                  ;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 4 : daxie :='肆' 
                  ;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 5 : daxie :='伍' 
                  ;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 6 : daxie :='陆' 
                  ;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 7 : daxie :='柒' 
                  ;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 8 : daxie :='捌' 
                  ;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 9 : daxie :='玖' 
                  ;<BR>&nbsp;&nbsp;&nbsp; end;<BR>&nbsp;&nbsp;&nbsp; case i 
                  of<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0 : danwei :='分' 
                  ;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1 : danwei :='角' 
                  ;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2 : danwei :='圆' 
                  ;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 3 : danwei :='拾' 

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -