期刊文献+

一种基于正则表达式的汉字大写数字金额转换的改进算法

An Improved Algorithm for Converting Amounts of Chinese Capital Numbers Based on Regular Expressions
下载PDF
导出
摘要 本文结合会计基础工作规范和项目开发实际需要,详细、准确解读了汉字大写数字金额的转换规则,基于正则表达式匹配规则,提出分节组合算法,改进了传统汉字大写数字金额转换算法,在有效简化算法代码的基础上,突破了待转换数值数量级限制,实现了转换结果完全符合汉语语义表达,并保证了算法执行效率。本文提出的算法在实际项目开发中有较强的参考价值。 This paper combines the accounting basic work specification and the actual needs of project development,interprets the conversion rules of Chinese uppercase numeric amounts in detail and accurately,proposes a subsection combination algorithm based on the regular expression matching rules,improves the traditional Chinese uppercase numeric amount conversion algorithm,breaks through the numeric value to be converted order of magnitude limitation on the basis of effectively simplifying the algorithm code,realizes the conversion result fully conforms to the Chinese semantic expression,and The algorithm can be used in practical projects.The algorithm proposed in this paper has a strong reference value in practical project development.
作者 谢秉贤 XIE Bingxian(Xi'an Siyuan College,Xi'an Shaanxi,710038,China)
机构地区 西安思源学院
出处 《信息与电脑》 2022年第10期71-75,共5页 Information & Computer
关键词 正则表达式 贪婪模式 等效字符串 C#委托方法 regular expression greedy mode equivalent string C#delegate
  • 相关文献

参考文献5

二级参考文献12

共引文献6

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部