it depends on the boards- and what is below you. If its another apartment below, you'll need to use an acoustic underlay & floating boards.
If its not, then you could do either but glued boards would normally be for solid timber or engineered solid timber while floating for the cheaper veneer...