Also, the symbol for a British penny, used before the monetary system was decimalized in 1971. Nowadays p is the preferred designator. In medieval days, most official documents were written in Latin, where denarius was the word used for penny, hence the d.