Search:

Type: Posts; User: pbrockway2

Search: Search took 0.09 seconds.

  1. Replies
    5
    Views
    1,572

    [SOLVED] Re: Rounding Decimal Numbers Question

    Sorry, I realise I didn't *exactly* address what you asked. Almost always it's a human friendly string that's wanted and not a - necessarily *less* accurate - floating point value. Rounding in...
  2. Replies
    5
    Views
    1,572

    [SOLVED] Re: Rounding Decimal Numbers Question

    Typically there two ways of producing a human friendly string from a floating point value like a double: have a look at the DecimalFormat class and the format() method of String. (PrintStream...
Results 1 to 2 of 2