Below is the function and its returning the integer values with %.
- def functions = []
- eval for(var i=0; i<response.functions.length; i++) functions.add(response.functions[i].value) *print functions
It's return the below output. ['2.16%','1.34%','1.32%','1.25%','0.65%','0.48%','0.42%','0.26%','0.14%','0.06%','0.03%','0%']
I want to remove the single codes and % symbol. After removing it should be like below. [2.16,1.34,1.32,1.25,0.65,0.48,0.42,0.26,0.14,0.06,0.03,0]
Please help me to remove the extra characters from Integer array