I have these values
ROWA
-------
0.23
0.2350
0.1000
1.250
1200
1.300
I wanted to convert to a format where only decimal trailing zero are remove I tried using this
select cast(RowA as decimal(18,3)) from dual.
But the result remove the leading zero of the decimal.
ROWA
-------
.23
.235
.1
1.25
1200
1.3
How do I convert to
ROWA
-------
0.23
0.235
0.1
1.25
1200
1.3