用英语读取金额(USD)的功能。 [英] Function to read amounts(USD) in english.

查看:109
本文介绍了用英语读取金额(USD)的功能。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何编写函数来读取英语中的金额(USD)。任何人帮助我。非常感谢。

示例:12,554.82 USD

单词:一万二千五百五十四美元八十二美分

解决方案

通过Google可以找到几个建议



例如 http://www.c-sharpcorner.com/UploadFile / b942f9 / conversion-numbers-to-words-in-C-Sharp / [ ^ ]



投放更多 [ ^ ]


Conver number into word [ ^ ]



如何将数字转换为C#中的单词 [ ^ ]



看来这是一个多年生的第一个年级作业。然后所有的学生都为他们的创作感到骄傲,他们在这里发布。



同样,请考虑老师知道这个网站,并知道你是否只是复制(剽窃)任何这些实现​​。

此外,这些实现都不是完美的(包括解决方案2),但您可以阅读每个实现并使用您喜欢的概念来形成真正属于您自己的解决方案。





我们有这么多人甚至有恶搞:将数字转换为等效的单词。 [ ^ ]



如何将数值转换为文本(字符串) [ ^ ]



将货币转换为Lakh,Crores等中的单词 [ ^ ]



转换使用C#.NET以孟加拉语货币格式用逗号表示单词和单独金额 [ ^ ]



XSLT Number to String Transformation II [ ^ ]



将数字货币转换为国际货币的单词 - 第二部分(优化) [ ^ ]





将数字转换为英语 [ ^ ]



如何使用C#将数值或货币转换为英文单词 [ ^ ] < br $> b $ b

将数字转换为文本 [ ^ ]



Number to Word(阿拉伯语版) [ ^

How to code function to read amounts(USD) in english. Anyone help me. thank a lot.
Example: 12,554.82 USD
In Words: Twelve thousand five hundred fifty four dollars eighty two cents

解决方案

There are several suggestions to be found via Google

e.g. http://www.c-sharpcorner.com/UploadFile/b942f9/converting-numbers-to-words-in-C-Sharp/[^]

lots more[^]


Conver number into word[^]

how to convert number into words in C#[^]

It seems this is a perennial first year class assignment. And then all the students are so proud of their creations that they post them here.

Similarly, please consider that teachers know about this site and will know if you simply copied (plagiarized) any of these implementations.
Furthermore, none of these implementations is perfect (including Solution 2), but you can read each and use the concepts you like to form a solution that is truly your own.


We have so many we even have a spoof: Converting numbers to the word equivalent. [^]

How to Convert Numeric Value to Text(String)[^]

Convert Currency To Words in Lakh, Crores, etc.[^]

Convert Amount in Words and Separate Amount with comma in Bangladeshi Currency Format using C#.NET[^]

XSLT Number to String Transformation II[^]

Convert Numeric Currency into Words for International Currency - Part - II (Optimized)[^]


Converting numbers into English[^]

How to Convert a Numeric Value or Currency to English Words Using C#[^]

Convert Number to Text[^]

Number To Word (Arabic Version)[^]


这篇关于用英语读取金额(USD)的功能。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆