I was trying to make a pad to the left of spaces to a number, so that in my view they were all formatted (in the view they can not be formatted).
When I try the function that follows:
LENGTH (TO_CHAR(a.variacion*100,'999990.99'))
oh by chance all the numbers measure 11.
However, as noted in the following list, this is not real. So, where does Oracle get that 11 ???
11 -59.00
11 1.00
11 -76.00
11 -5.00
11 -24.00
11 37.00
11 -47.00
11 -14.00
11 -21.00
11 -50.00
11 0.00
11 6032.00
11 -64.00
11 -6.00
11 -28.00
11 -59.00
As a clarification, if I change the mask to something else, for example to TO_CHAR(a.variacion*100,'990.99')
, the following comes up:
8 -59.00
8 1.00
8 -76.00
8 -5.00
8 -24.00
8 37.00
8 -47.00
8 -14.00
8 -21.00
8 -50.00
8 0.00
8 #######
8 -64.00
8 -6.00
8 -28.00
8 -59.00
So the problem is the mask .. but what does it have to do ???