Number function

Made sure the prompts were recognized as numbers