Format numbers as currency

This component formats numbers so as to
1) round all but the last two decimal places
2) insert comma separators (can be easily changed in the component to periods if European)
3) place a denomination symbol such as \$ in front (optional)

It does not check if the property exists prior to formatting; this was intentional as usually if something is missing then something is wrong and I need to account for it upstream.