Like Walt said you have deeper problems. A floor won't get soft from one leak over a short period of time, it has probably been leaking for a long time and now let go enough that you found the water. As far as replacing any heater will work as long as it fits, check various model drawings so its easy to connect gas, elect, water lines, etc.
|