The approach committed I've used in the past based on this SO question: http://stackoverflow.com/questions/18082/validate-numbers-in-javascript-isnumeric

But I don't personally know if ordering isFinite() first will be sufficient to catch all cases where parseFloat might fail.