Rounding of Decimals places
Posted: Tue Jul 15, 2008 7:05 pm
I have a stage variable which I defined as Decimal(38,28). If in this stage variable I divide 1.000000000000000000000000000 by 3.0000000000000000000000000000. I get an output of 0000000000.3333333333000000000000000000 instead of 0000000000.333333333333333333333333333. Some how the last 18 digits of the output are all zeros. Could any one let me know how I can get the correct output
The input and output to this stage variable are Decimal(38,28)
The input and output to this stage variable are Decimal(38,28)