Search:

Type: Posts; User: darek9576

Search: Search took 0.26 seconds.

  1. Replies
    1
    Views
    1,905

    The printf() method explanation needed

    Could anyone give some info on the printf() method..
    I know we can put %d and %s in the format argument so that it takes a string data type
    and a decimal data type but apart from that are there any...
  2. Replies
    2
    Views
    39,655

    Limiting decimal places in a double

    When i write in my program

    double pi = Math.PI;

    This will give me a value of PI accurate to many decimal places, but what if i want to limit this number
    lets say to 3 decimal places..
    Is...
  3. Replies
    1
    Views
    809

    Converting to String

    String class provides us with the method String.valueOf(some stuff) that basically converts "some stuff" into a string..
    But we can also concatenate "some stuff" with an empty String ("").
    Both...
Results 1 to 3 of 3