Categories
- All Categories
- Oracle Analytics Learning Hub
- 18 Oracle Analytics Sharing Center
- 17 Oracle Analytics Lounge
- 228 Oracle Analytics News
- 44 Oracle Analytics Videos
- 15.8K Oracle Analytics Forums
- 6.2K Oracle Analytics Idea Labs
- Oracle Analytics User Groups
- 84 Oracle Analytics Trainings
- 15 Oracle Analytics Data Visualizations Challenge
- Find Partners
- For Partners
Welcome to the Oracle Analytics Community: Please complete your User Profile and upload your Profile Picture
Cast / Format - 2 dp for double?

Robert Angel
Rank 8 - Analytics Strategist
In a non-production environment; -
SomeFieldsAndLiterals||Cast(Cast(10.2 as double) as char(20))||SomeMoreFieldsAndLiterals
Gives; -
SomeFieldsAndLiterals00000000000000010.20SomeMoreFieldsAndLiterals
(which is the desired effect - 2 decimal places)
In Prod
SomeFieldsAndLiterals000000000000000010.2SomeMoreFieldsAndLiterals
Note the 10.2 is really coming from a measure field.
Note also I cannot see any differences in the config.xml and I have tried to apply a format for the measure in question but it does not make any difference.
Note also, most bizarrely, that the 2 dp seems to work in production, until the report is displayed in the dashboard page....
Any thoughts please?
thanks,
Robert.
0