Did you remove the brake hoses? If so, did you bleed the system? If not, do that first. If the brake still goes to the floor, check to make sure there are no leaks. If there are none and the brakes are properly bled, chances are the master cylinder is bad.