Team,
We have a requirement to publish the numeric values from TM1 cube to oracle database tables.
in the cube, sample data is 0.000000000000170530257 this data to be published in the exponential format in database: 1.70530257E-13.
But to display in TM1, we have to round off the value and display 0, but for publishing we have to publish in expon format.
Looking out for help on this
regards
Nare
Exponential values to be published from TM1 to DB table
-
- MVP
- Posts: 600
- Joined: Wed Aug 17, 2011 1:19 pm
- OLAP Product: TM1
- Version: 9.5.2 10.1 10.2
- Excel Version: 2003 2007
- Location: York, UK
Re: Exponential values to be published from TM1 to DB table
Presuming that you are using a TI process and SQLOutput then you need to use the function NumberToStringEx with a scientific format argument.
e.g.
e.g.
Code: Select all
numstring = NumberToStringEx( number, '#.##########E+', '.', ',' );
-
- Posts: 7
- Joined: Thu Apr 11, 2013 3:18 pm
- OLAP Product: TM1
- Version: 10.1
- Excel Version: 2010
- Location: Sydney, Australia
Re: Exponential values to be published from TM1 to DB table
Hi Duncan,
Many thanks for your help, It's working..
Cheers
Nare
Many thanks for your help, It's working..
Cheers
Nare