Here is a few examples on the different ways to format strings when outputting data to the user. Computers usually store numbers without formatting.
Some of these notes will tell you the exact code you would need to make a computer’s “224” to be outputted as “$224” or “224 %”.