There is a number column in database. When it is fetched as char using TO_CHAR then the digit before decimal point is lost.
Select TO_CHAR(column) from table
For e.g. 0.5 is stored in the column but when selected it returns .5
Similarly if -0.5 is stored then -.5 is returned .
What could be the reasons for this ?
Is it related to NLS setting ?If yes which setting should be changed to retrieve the value as it is stored .