Hi Arnab
Create an UDF like below
UDF
Execution type all values of a context
Input will be inputstr
code :
String newstr ="";
if(inputstr[0].indexOf("-") != -1 )
{
newstr = inputstr[0].replaceAll("-","");
newstr = Integer.toString(Integer.parseInt(newstr)/100)+"-";
}
else if(inputstr[0].indexOf("+") != -1 )
{
newstr = inputstr[0].replaceAll("\\+","");
newstr = Integer.toString(Integer.parseInt(newstr)/100)+"+";
}
else
{
newstr= inputstr[0];
newstr = Integer.toString(Integer.parseInt(newstr)/100);
}
resultAddvalue(newstr);