Number Rounding issue in TI process
Posted: Thu Jun 05, 2014 6:17 pm
I am trying to load data based on columns names.If elements belong to Parent A load Coloumn A data ,If elements belong to Parent B load coloumn B data using a TI process.The issue i am facing is number rounding .
If i use vcomp = xyz * 100000 and use vcomp directly to load data it is showing correct numbers.
when i tried to load vcomp data using an IF statment it rounding up to nearest number
IF (ELISCOMP('Accounts' , v11,'ParentA') @=1);
vcomp = xyz*1000000 ;
ELSEIF( ELISCOMP('Accounts' , v11,'ParentA') @=1 ) ;
vcomp = ABC*1000000 ;
ENDIF;
If i load vcomp directly iam getting correct numbers but if i use IF statement it is rounding to nearest number.
Ex: XYZ = 1.362844071
vcomp value with out IF statement =1362844.071
vComp value in IF statement = 1388931.767,
I checked values using ASCIIOUT extract .
I am using TM1 10.2.2 on windows 2008 R2.
Thanks for you help in advance
If i use vcomp = xyz * 100000 and use vcomp directly to load data it is showing correct numbers.
when i tried to load vcomp data using an IF statment it rounding up to nearest number
IF (ELISCOMP('Accounts' , v11,'ParentA') @=1);
vcomp = xyz*1000000 ;
ELSEIF( ELISCOMP('Accounts' , v11,'ParentA') @=1 ) ;
vcomp = ABC*1000000 ;
ENDIF;
If i load vcomp directly iam getting correct numbers but if i use IF statement it is rounding to nearest number.
Ex: XYZ = 1.362844071
vcomp value with out IF statement =1362844.071
vComp value in IF statement = 1388931.767,
I checked values using ASCIIOUT extract .
I am using TM1 10.2.2 on windows 2008 R2.
Thanks for you help in advance