Well if your worried about it, you can just clean the floor with just water and dry it that should remove any residual detergent. I think some of the newer cleaning detergents are designed to biodegrade over time as to not pollute the rivers. Other chemicals should just evaporate. I think the biggest thing to worry about is not the floor but using buckets that were used to clean the floor, never use these to do water changes for your tanks or air fresheners, they release chemicals into the air that will end up in the tank killing your fish.
So try wiping down the floor with a sponge and clean water. This should alleviate any remaining OCD fears. LOL