In a way that is socially acceptable, properly respectful, or of reasonably good quality.
From 'decent,' which comes from Latin 'decens' meaning fitting or appropriate (related to 'decorum'). The -ly suffix converts the adjective to an adverb.
Try Another Word