The distance between points A and B is 0.5 foot.

The distance between points A and B is 0.5 feet.

To be clear, this is not about adjectival usage such as

*a 0.5-foot-tall elf*. I apologize if this has been discussed previously in this forum; I couldn't find any prior threads.