To apply the dollar currency to a value, select the cell, press Ctrl+1 to launch the Format Cells dialog box, and select "Currency" or "Accounting" in the Number tab. Then, choose the dollar symbol ...
If you are trying to write a number in Excel or Google Sheets that starts with zero (0), you may not do that due to the default settings. In that case, you should follow this tutorial to enter zero ...