CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: smartalex32

Search: Search took 0.04 seconds.

  1. Replies
    6
    Views
    6,416

    Re: java.lang.NullPointerException Problem!!

    When that pops error pops up, the first thing you need to do is look at your declared values that havent been instantiated and make sure they are not called before getting a value, or else they will...
  2. Re: Assistance with parsing integers input from user

    A really easy way to deal with parsing a string like that is to use the split method. I know you said you figured it out, but i thought I would suggest that if you tried a longer process. It allows...
  3. Re: Help needed! Calculating weekly pay with if else

    To print out the double value to two decimal places:

    First:
    import java.util.DecimalFormat;

    Then create a new format object:
    DecimalFormat frmt = new DecimalFormat("0.00");

    Then to print...
Results 1 to 3 of 3





Click Here to Expand Forum to Full Width

Featured