Hi
I want to round the values to 2 decimal places. How can it be done in PX? and in which stage?
Thanks
How to round the numeric values
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
What is the current data type that you want to round, and what is the data type of the field where you want to store the result. Knowledge of both of these things is essential before one can choose the correct function.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Depends. What is the data type of the output column? As I stated, one needs to know both to determine whether an implicit conversion can be done or whether to override the default rounding strategy or whether an explicit function is required.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.