如何以文字形式显示金额? [英] How can I display money amounts in word form?

查看:33
本文介绍了如何以文字形式显示金额?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

谁能帮我在 VB.NET 中制作一个货币面额程序.问题是当您输入一个数字时,程序应该将其转换为 word 格式.

Can someone help me make a money denomination program in VB.NET. The problem is when you enter a number the program should convert it to word format.

如果你输入

'98534671.23' 

程序应该将其转换为

"ninety eight million five hundred thirty four thousand six hundred 
seventy one and twenty three cents".

另见:

如何将整数转换为其口头表达代表?

推荐答案

将整数转换为书面数字

您应该能够使用此主题来帮助您.您所要做的就是将代码从 C# 转换为 VB.NET

You should be able to use this topic to help you. All you should have to do is convert the code from C# to VB.NET

这篇关于如何以文字形式显示金额?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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