Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: hsugu
  • Order by date
  1. hsugu

    EASY QUESTION: Rounding Integers to 2 decimal places?

    import java.text.DecimalFormat; public class DFormatTest { public static void main(String[] args) { double d = 43.335 DecimalFormat df = new DecimalFormat(); df.setMaximumFractionDigits(2); df.setMinimumFractionDigits(2); df.setDecimalSeparatorAlwaysShown(true)...

Part and Inventory Search

Back
Top