整数值转换为字符串 [英] integer value convert to string

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

问题描述

我在将整数(1000)格式化为vb.net中的货币字符串fromat(Ten Thousand)时遇到问题。我有一个文本框,它将显示整数值。

我使用TextChanged事件的文本框,当我的文本框从文本框更改时,该货币只显示字符串值

I have problem with formatting the Integer(1000) to currency string fromat(Ten Thousand) in vb.net. I have a text box and it will show the integer value.
I used the TextChanged Event of text box, when I Textbox change from the text box that currency just show the String value

推荐答案

没有内置函数以这种方式转换数字:123 - > 一百二十三



然而,快速谷歌Number to words VB [ ^ ]将为您提供大量解决方案!
There is no built in function to convert numbers in that way: 123 -> "One Hundred and Twenty-Three"

However, a quick Google for "Number to words VB"[^] will give you loads of solutions!


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

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