Question: is halb masculine or feminine?
Answer: This means you will never have to add the s for the plural. Thus, the only other possible spelling is demie with a final e if the noun is feminine. So, with masculine nouns, you will spell demi: Trois ans et demi (three and a half years)