The price of the molding is given $ per ft, so we convert all units to ft:
23 ft 6 in = 23,5 ft, since 12 in=1 ft, so 6 in= 0.5 ft.
Thus the dimensions of the floor are 15 ft × 23.5 ft. We have 2 sides of the wall with a length of 23.5 ft, and the other 2 sides with length 15 ft.
The molding around the floor has a length of 2*15+2*23.5=30+47=77 (ft)
The cost is 77 (ft) * 0.5($ per ft) = 77*0.5 $ = 38.5 $
Answer: $ 38.5