where did you get a 24 v battery ? most 24 v battery packs are made using two .12 v batterires. so if yours is like that , you could hook it up to just one of the batteries.
but the answer is no , you will have to return the inverter if you have a 24 v battery.
edit ,, Calli ,, you are so so so wrong .. 24 v input on a 12 v inverter will last about 2 seconds before it blows it .
Also , those old people 24 v mobility scoooters and kids scooters use two 12 volts batts in series for 24 volts like i said , not a 24 v batt ;(
Plus , stepping it down would just lose MORE power in the conversion = less battery life ;(
just like my 36 volt bicycle motor use three 12v batts in series.