钱到字转换 [英] money to word conversion

查看:50
本文介绍了钱到字转换的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

hi
i希望用文字表示钱。如何做。



例如: -

250.50-- - >二百五十卢比和五十个paise

hi i want to show money in words.how to do it.

example :-
250.50---->two hundred and fifty rupees and fifty paise

推荐答案

你必须编写一个执行它的例程。可能已经构建了一些你可以购买的第三方控件,但是你必须编写解析数字的代码,然后使用很多switch和if语句转换为文本。
You will have to write a routine that does it. There may be some 3rd party controls already built that you could purchase but otherwise you'll have to write code that parses the number and then converts to text using a lot of switch and if statements.


请参阅此处:

印度货币兑换Word在C#中[ ^ ]

http://wiki.cdyne.com/index。 php / Convert_Money_to_Text_in_C_Sharp [ ^ ]

以字数和单独金额转换金额使用C#.NET以孟加拉国货币格式使用逗号 [ ^ ]
Refer Here:
Indian Currency to Word in C# [^]
http://wiki.cdyne.com/index.php/Convert_Money_to_Text_in_C_Sharp[^]
Convert Amount in Words and Separate Amount with comma in Bangladeshi Currency Format using C#.NET[^]


这篇关于钱到字转换的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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