Meh, it's a convention, and although possibly a rule in some contexts, certainly not a rule in social media. And it sort of makes sense to write 25$ as we say 25 dollars. Putting the currency symbol after the number is common in many countries. Call me conventional, but I wouldn't write it myself (well, maybe rarely) but I have been tempted to write 25 bux at times.