For float and int, test the entire string