Issue with Round function in ssrs

后端 未结 3 470
失恋的感觉
失恋的感觉 2020-12-22 10:30

I have a issue in SSRS when I use expression to use Round function

I need get the value Round down but always is up

I\'ve the following expresion 3 - (4 *.3

3条回答
  •  猫巷女王i
    2020-12-22 11:02

    if you just need to get a whole number try casting to int it should always round up to the nearest whole number other use Math.Round()

    http://msdn.microsoft.com/en-us/library/aa340227(v=VS.71).aspx

提交回复
热议问题