Whatever language you choose, you need to test your string output to see if they are negative or positive. Add the brackets to the negatives and add a
to the end of your positives and still use your text-align: right; Use this if you are using a font where all characters are the exact width like a typewriter.
or add this for a perfect fit otherwise.
<span style="visibility: hidden;">)</span>
after, this is most likely better anyways.