Check this code:
String expr ="1.3*60";
String[] tokens = expr.split("\\*");
float j = Float.parseFloat(tokens[0]);
float k = Float.parseFloat(tokens[1]);
System.out.println(j);
System.out.println(k);
System.out.println(j*k);
So, first you have to tokenize using a regular expresion (I wont talk about that), so that is the split part you had. Then, as some of the numbers you are parsing are not integers you should use floats or the corresponding type, or use try/catchs or whatever to ignore non int values. And lastly, valueOf returns objects while parseX returns primitives, which I think are the ones you need.