nicety (n.)
mid-14c., "folly, stupidity," from Old French niceté "foolishness, childishness, simplicity," from nice "silly" (see nice). Underwent sense evolution parallel to nice, arriving at "minute, subtle point" 1580s and "exactitude" in 1650s. Phrase to a nicety "exactly" is attested from 1795.