I have a column with for eg values: *.4176, *0.2734, $1.53, $122.00, D0.4645, D.2464, *0.3426, *.3426, $0.0/$2.50, -0.0/-2.50
I need to write a query to display only the numerical part in numerical format. I want to create a detail object for the main object in business object. I tried using translate but it has a lot of hardcoding and the slash is creating problem to convert it into TO_BINARY_DOUBLE. Is there anyother way to avoid hardcoding and still display numbers in numerical format?
Try this:
This is the case when you have the symbol * in the column, just to get the idea. Perform some more translates for the other cases as well.
Cheers