Results 1 to 6 of 6
  1. #1
    ABHIJEEEEEEET is offline Member
    Join Date
    Aug 2010
    Posts
    8
    Rep Power
    0

    Default Equivalent of "strtoul" in JAVA

    Hi,
    I am new to JAVA. There is a function "strtoul" in C. I want to know its equivalent in Java.

  2. #2
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    12,998
    Blog Entries
    7
    Rep Power
    19

    Default

    Quote Originally Posted by ABHIJEEEEEEET View Post
    Hi,
    I am new to JAVA. There is a function "strtoul" in C. I want to know its equivalent in Java.
    Have you read the API documentation for the String class?

    kind regards,

    Jos

  3. #3
    ABHIJEEEEEEET is offline Member
    Join Date
    Aug 2010
    Posts
    8
    Rep Power
    0

    Default

    But the API documentation of String class doesn't contain anything about strtoul ...

  4. #4
    Zack's Avatar
    Zack is offline Senior Member
    Join Date
    Jun 2010
    Location
    Destiny Islands
    Posts
    692
    Rep Power
    4

  5. #5
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    11,442
    Rep Power
    18

    Default

    Or look at the Long class...

  6. #6
    ABHIJEEEEEEET is offline Member
    Join Date
    Aug 2010
    Posts
    8
    Rep Power
    0

    Smile

    Yeah. I got my answer by your help. Thanks to Zack & tolls :)

Similar Threads

  1. Java, Military Format using "/" and "%" Operator!!
    By sk8rsam77 in forum New To Java
    Replies: 11
    Last Post: 02-26-2010, 03:03 AM
  2. Replies: 1
    Last Post: 11-20-2009, 07:58 PM
  3. Replies: 10
    Last Post: 01-29-2009, 08:00 AM
  4. Replies: 2
    Last Post: 01-24-2009, 06:56 PM
  5. Replies: 1
    Last Post: 10-20-2008, 07:35 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •