VB.NET支持四舍五入的计算器.rar

上传者: 39841856 | 上传时间: 2026-01-02 11:06:23 | 文件大小: 50KB | 文件类型: RAR
VB.NET支持四舍五入的计算器,界面是仿Windows计算器风格,功能方面不算很强大,只是常规的数学运算。不过本代码中的注释非常多,对学习VB.NET编程相当有帮助。以下是编写计算器时的一些参数定义:
  Private sts As Integer '处于输入状态
  Private opercount As Integer '加减乘除操作计数
  Private current_oper As String '当前操作符号
  Private clickcount As Integer '等号键的按键次数清零
  Private memory As String '临时存储值
  Private cal_result As Double '记录下计算结果,以便在改变精度时可以从原值中重新截取
  里面各个数字运算功能的实现,调用VB.NET中的什么方法实现,都是这个计算器要学习的重点哦。

文件下载

资源详情

[{"title":"( 25 个子文件 50KB ) VB.NET支持四舍五入的计算器.rar","children":[{"title":"codesc.net","children":[{"title":"MyCalc","children":[{"title":"UpgradeLog.XML <span style='color:#111;'> 1.47KB </span>","children":null,"spread":false},{"title":"MyCalc.sln <span style='color:#111;'> 908B </span>","children":null,"spread":false},{"title":"MyCalc.suo <span style='color:#111;'> 20.00KB </span>","children":null,"spread":false},{"title":"MyCalc","children":[{"title":"Form1.vb <span style='color:#111;'> 28.32KB </span>","children":null,"spread":false},{"title":"MyCalc.vbproj <span style='color:#111;'> 6.00KB </span>","children":null,"spread":false},{"title":"obj","children":[{"title":"Debug","children":[{"title":"MyCalc.pdb <span style='color:#111;'> 51.50KB </span>","children":null,"spread":false},{"title":"MyCalc.exe <span style='color:#111;'> 39.00KB </span>","children":null,"spread":false},{"title":"MyCalc.Resources.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"MyCalc.Form1.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"MyCalc.xml <span style='color:#111;'> 624B </span>","children":null,"spread":false},{"title":"GenerateResource-ResGen.write.1.tlog <span style='color:#111;'> 584B </span>","children":null,"spread":false},{"title":"MyCalc.vbproj.FileListAbsolute.txt <span style='color:#111;'> 836B </span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferencesInput.cache <span style='color:#111;'> 5.20KB </span>","children":null,"spread":false},{"title":"TempPE","children":[{"title":"My Project.Resources.Designer.vb.dll <span style='color:#111;'> 7.50KB </span>","children":null,"spread":false}],"spread":false},{"title":"GenerateResource-ResGen.read.1.tlog <span style='color:#111;'> 712B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"MyCalc.vbproj.user <span style='color:#111;'> 452B </span>","children":null,"spread":false},{"title":"My Project","children":[{"title":"Resources.Designer.vb <span style='color:#111;'> 2.72KB </span>","children":null,"spread":false},{"title":"Application.myapp <span style='color:#111;'> 510B </span>","children":null,"spread":false},{"title":"Resources.resx <span style='color:#111;'> 5.48KB </span>","children":null,"spread":false},{"title":"Settings.Designer.vb <span style='color:#111;'> 2.91KB </span>","children":null,"spread":false},{"title":"Application.Designer.vb <span style='color:#111;'> 1.52KB </span>","children":null,"spread":false},{"title":"Settings.settings <span style='color:#111;'> 279B </span>","children":null,"spread":false},{"title":"AssemblyInfo.vb <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false}],"spread":true},{"title":"Form1.resx <span style='color:#111;'> 5.68KB </span>","children":null,"spread":false},{"title":"Form1.Designer.vb <span style='color:#111;'> 19.52KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明