【发布时间】:2010-10-14 13:33:31
【问题描述】:
谁能帮我在VB.NET 中制作一个货币面额程序。 问题是当您输入一个数字时,程序应该将其转换为 word 格式。
如果你输入
'98534671.23'
程序应将其转换为
"ninety eight million five hundred thirty four thousand six hundred
seventy one and twenty three cents".
另见:
How can I convert an integer into its verbal representation?
【问题讨论】:
-
我不知道是否投票关闭或不看到前面的欺骗示例是针对 C# 而不是 VB.NET。我知道您可以轻松地在两者之间进行翻译,但我不知道这是否可以被视为完全欺骗。
-
另外,其他帖子不考虑小数点后的部分(美分)。
标签: vb.net