77问答网
所有问题
求帮助,vb作业。用format函数规定label的格式为0.00,保留两位小数,要怎么写?
如题所述
举报该问题
推荐答案 2015-03-29
假定要显示在Label1的数据为x:
Label1.Caption = Format(x, "0.00")
温馨提示:答案为网友推荐,仅供参考
当前网址:
http://77.wendadaohang.com/zd/G8pWvpN38vqNIvYNv3v.html
相似回答
大家正在搜
相关问题
VB6.0 我想用format函数保留两位小数
VB浮点数显示不出小数点前面的0,用format函数不行。求...
vb 中format(0000,0.00什么意思)
vb中Format函数的用法
怎样在VB 中Text显示保留两位小数
vb中format函数怎样定义的
vb中的格式化函数Format
vb文本内容为小数形式,要求为#0.00格式如何使其能正常输...