标题:请高手师傅们修改ckxp书店程序金额总计代码!急!
只看楼主
yythac
Rank: 1
等 级:新手上路
帖 子:4
专家分:0
注 册:2008-8-16
 问题点数:0 回复次数:0 
请高手师傅们修改ckxp书店程序金额总计代码!急!
各位高手师傅们:你们好,叩请帮小弟修改一下ckxp书店程序金额总计代码-------我想将原来的统计方式(最后的总金额统计)修改为除以4.3再乘以100得到总金额元,不足100元的以100元计,谢谢!代码如下:


<td colspan="5" bgcolor="#DEEFEF"><div align="right">
              <%response.write "<font color=#FF6600>您选择的送货方式是:"
          '///判断送货方式读取加收金额
          dim gongji,gongjijiner,fujiafei '共计金额
          set rs3=server.CreateObject("adodb.recordset")
          rs3.open "select * from shop_songhuo where songid="&int(rs("songhuofangshi")),conn,1,1
          if rs3.eof and rs3.bof then
          response.write "方式已经被删除"
          response.write "&nbsp;+"&formatnumber(0,2)&"元&nbsp;&nbsp;&nbsp;共计:"
          response.write formatnumber(iiii,2)&"元"
          else
          response.Write trim(rs3("subject"))
          response.write "&nbsp;+"&formatnumber(rs3("jsmoney"),2)&"元&nbsp;&nbsp;&nbsp;共计:"
          gongji=formatnumber(iiii+rs3("jsmoney"),2)&"元"
          response.Write gongji
          gongjijiner=round(ccur(iiii+rs3("jsmoney")),2)     '//总金额
          fujiafei=ccur(rs3("jsmoney"))      '//加收金额
          end if
          rs3.close
          set rs3=nothing%>
              &nbsp;&nbsp;&nbsp;&nbsp;</font></div></td>

[[it] 本帖最后由 yythac 于 2008-8-16 11:51 编辑 [/it]]
搜索更多相关主题的帖子: ckxp 书店 师傅 金额 
2008-08-16 11:04



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-228562-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.578381 second(s), 8 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved