Yeah, your example is exactly what I'm trying to do. I want to right-align a series of dollar figures on the decimal point for output. Java has formatting classes for all the other stuff (commas, dollar signs, etc.); just nothing for right-alignment on the decimal.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.