From the early 19th century a five shilling piece or crown was sometimes called a dollar, probably because its appearance was similar to the Spanish dollar or peso - sometimes called a piece of eight.
[…]
A guinea was £1-1s-0d (which is £1.05) and could be written as ‘1g’ or ‘1gn’ or, in the plural, ‘3gs’ or ‘3gns’. It was considered a more gentlemanly amount than £1. You paid tradesmen, such as a carpenter, in pounds but gentlemen, such as an artist, in guineas. It was a tradition in the legal profession that a barrister was paid in guineas but kept only the pounds, giving his clerk the shillings (they were all men then). Paul Lewis on Victorian coinage
[…]
A guinea was £1-1s-0d (which is £1.05) and could be written as ‘1g’ or ‘1gn’ or, in the plural, ‘3gs’ or ‘3gns’. It was considered a more gentlemanly amount than £1. You paid tradesmen, such as a carpenter, in pounds but gentlemen, such as an artist, in guineas. It was a tradition in the legal profession that a barrister was paid in guineas but kept only the pounds, giving his clerk the shillings (they were all men then). Paul Lewis on Victorian coinage