vijay b

Expression behaviour

Discussion created by vijay b on Sep 29, 2011
Latest reply on Oct 4, 2011 by vijay b

Hi


I have an issue in the following expression

a = b * (a call to Dt will return some real value)/1000;

example with data : a = 200000 * (0.6/1000);

Iam getting result as 119.9999999999; but is should get 120.0;

when iam writing expression as below, iam able to get the expected output.

a = b * (a call to Dt will return some real value);

a = a/1000;

 

Thanks,
--Vijay

Outcomes