Formatting currency into the 'accounting' format

Hi - I have my currency formatted and have the dollar sign. I can’t figure out how to have it formatted like the accounting format in excel. For example:(dollar sign is left aligned and numbers right aligned.

$ 10,000.00
$ 20,000.00
$ 15,000.00

I have this in a table with data fields. See below:

                $@B3@ 
            
            
                $@T10@ 
            
            
                $@C6@ '

Can someone help me figure out the code?

Thank You !!!

This can be done fairly simply with some css.

Structure your td’s like this:

            $10,000.00

The currency sign and the currency value need to be in seperate containers( in this case) so that they can be treated differently.

-float:right: pushes, or “floats”, your element to the right.