Error when removing Leading zeros from a numeric data
Posted: Fri Jul 08, 2011 1:40 am
Hi Guys,
I am trying to remove leading zeros from a numeric data which is coming in a Varchar field.
Source data : 000275
Target Data : 275
Both the Source field and target field are Varchar Field. This is what i am doing.
I am getting the following error in Director
Can somebody point out what i am doing wrong.
Cheers
I am trying to remove leading zeros from a numeric data which is coming in a Varchar field.
Source data : 000275
Target Data : 275
Both the Source field and target field are Varchar Field. This is what i am doing.
Code: Select all
DecimalTostring(StringToDecimal(InCol), "suppress_zero")
Code: Select all
Conversion error calling conversion routine decimal_from_string data may have been lost
Cheers