Search results

  1. S

    Aligning decimal output in Java

    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.
  2. S

    Aligning decimal output in Java

    How dow you align decimal numbers when outputting them to the console in Java?
Back