Skip to Content
Jun 07, 2010 at 03:08 PM

data type



I want result 3/2 = 1.5. Please which data types to be used because i tried with type P decimals 2 but result is 1.00. I have defined three data objects and their type is P decimals 2 and using value to hard code constant ie 2 & 3. when i use operator div and divide 3 by 2 i am geting value 1.00. Please gudie


Moderator message: please use more descriptive subject lines from now on.

Edited by: Thomas Zloch on Jun 7, 2010 5:10 PM