Want to trim the leadin zero in a varchar
Posted: Fri Nov 06, 2009 7:41 am
I need the following requirement:
Input Sample
000029.96
00000.00
00156.01
00007.12
Required output:
29.96
0.00
156.01
7.12
The dattypes varchar!!
i used the TRIM function to remove the leading zeroes...
TRIM (Link1,'0',"L")
But it is not working...
Can anyone suggest me a solution..
Thanks in advance
Input Sample
000029.96
00000.00
00156.01
00007.12
Required output:
29.96
0.00
156.01
7.12
The dattypes varchar!!
i used the TRIM function to remove the leading zeroes...
TRIM (Link1,'0',"L")
But it is not working...
Can anyone suggest me a solution..
Thanks in advance