It is the convention of some countries to put their currency symbol before the number, while others put it after the number.

At least one country has put it in the middle.

So you could assume, in the absence of any context, that the 20$ is a different currency to $20.