Testing a 74LS181

If your output floats, something else is wrong in the circuit. Those chips are fairly simple to use, if you just follow the datasheet.