COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => Report Studio => Topic started by: Prakash Bhai on 05 Apr 2011 12:54:49 AM

Title: When I divide any value I am getting round value as a result
Post by: Prakash Bhai on 05 Apr 2011 12:54:49 AM
Hi,

When I divide any value I am getting round value as a result.e.g: 5/2 = 2.5 but I am getting as 3.The result is getting roundoff.Can any one suggest how can i get exact value when i dive with the number

Thanks

Ram
Title: Re: When I divide any value I am getting round value as a result
Post by: blom0344 on 05 Apr 2011 02:34:51 AM
Set dataformat to 'number' and choose the desired precision (decimals)