I've always put the $ in front of the amount. $5 rather than 5$.