Engaged Employer
Validate if given string is a number.
Anonymous
Soln is right. Just make sure with interviewer on what he is expecting. if double then use Double.parseDouble(string s) or float.ParseFloat(String s).
Check out your Company Bowl for anonymous work chats.