I think five shillings (20 shillings in a pound) was sometimes called a dollar because for a long time there were four US dollars to the pound.
The Australian dollar, and perhaps others, was set equal to half a British pound at the point when they obtained their own currency.