在rdlc报告中显示浮点值 [英] show float value in rdlc reports

查看:106
本文介绍了在rdlc报告中显示浮点值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用rdlc在vb.net中创建一个报告,它包含项目及其费率。一些费率是浮动的,但是rdlc显示报告没有以浮动格式显示值。

它使值更圆。

喜欢。 4.7到5
但我需要4.7

请告诉我在rdlc中我缺少什么设置。该字段在我的数据库中设置为double。

I create a report in vb.net using rdlc , it contain items and their rates . some rates are in float , but rdlc shows the report is not showing the values in float format .
it round off the values .
like . 4.7 to 5
but i need exactly 4.7
please tell me what setting i am missing to do in rdlc . the field is set double in my db.

推荐答案

更改文本框的 Format 属性 - 请参阅 MSDN [ ^ ]获取更完整的说明和可能的格式列表
Change the Format property of the textbox - see MSDN[^] for fuller instructions and a list of possible formats


这篇关于在rdlc报告中显示浮点值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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