If the floor is slippery, you'll probably need some kind of rubber bottoms on your shoes. For that matter, so will walking in the street, especially in wet weather. That's why you'll see some dancers wearing their street shoes to get to a club, and then changing to dancing shoes once they get there. The one shoe that seems to be good for all surfaces, and can be worn in the street, is the Capezio dance sneaker, which comes in different colors. Great for classes, practicing, outdoor events, and studio parties, it is unfortunately not really dressy enough for more dressed-up events and clubs.
Some people like to wear genuine dancing shoes out.
Others use certain street shoes which they've found are good for dancing. You have to experiment and find what suits you and your dancing style best. Most dancing and dress shoes come with leather soles which may be too slippery for certain dance surfaces. The rubber has a grid pattern for adhesion, and is either glued or sewn onto your present leather soles by a shoe repair shop. These can be put onto dancing shoes that are slipping.