Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/reporting-services/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Reporting services SSRS微调尾随0';是双人间吗_Reporting Services_Ssrs 2008_Trim_Ssrs 2008 R2 - Fatal编程技术网

Reporting services SSRS微调尾随0';是双人间吗

Reporting services SSRS微调尾随0';是双人间吗,reporting-services,ssrs-2008,trim,ssrs-2008-r2,Reporting Services,Ssrs 2008,Trim,Ssrs 2008 R2,我有一个返回双精度“2.000”的计算字段,如何格式化该字段以消除不必要的0?因此,发生以下情况: 当-->返回时 2.000-->2 2.500-->2.5 2.510-->2.51 将其铸造成双精度 CBdl(value) 在文本框“属性>>格式”中,输入 #.#### 这将根据需要显示

我有一个返回双精度“2.000”的计算字段,如何格式化该字段以消除不必要的0?因此,发生以下情况:

  • 当-->返回时
  • 2.000-->2
  • 2.500-->2.5
  • 2.510-->2.51
将其铸造成双精度

CBdl(value)

在文本框“属性>>格式”中,输入

#.####
这将根据需要显示