Search:

Type: Posts; User: Norm

Search: Search took 0.36 seconds.

  1. Replies
    18
    Views
    1,485

    [SOLVED] Re: double to int problem...

    If you're done, Please mark this thread as solved
  2. Replies
    18
    Views
    1,485

    [SOLVED] Re: double to int problem...

    You'll have a hard time with programming if you can't read and understand documentation.
    There is too much to remember so you have to read the API doc to get the details .
    I read the API doc many...
  3. Replies
    18
    Views
    1,485

    [SOLVED] Re: double to int problem...

    The field is private. It can not be accessed from outside of the class.
    Add a get method to the class to read that field's value and return it to the caller.

    You should spend more time reading...
  4. Replies
    18
    Views
    1,485

    [SOLVED] Re: double to int problem...

    Can you explain what the problem is?
  5. Replies
    18
    Views
    1,485

    [SOLVED] Re: double to int problem...

    That doesn't look like any compiler error message I've seen.
    The variable in the message is private to the class its defined in.

    Please post the full text of the compiler's error messages.
  6. Replies
    18
    Views
    1,485

    [SOLVED] Re: double to int problem...

    Please post the full text of the error message.


    Converting 0.3 to int would give 0
  7. Replies
    18
    Views
    1,485

    [SOLVED] Re: double to int problem...

    0.3 is a double and needs to be handled as a double. If you cast it to an int it will be 0
  8. Replies
    18
    Views
    1,485

    [SOLVED] Re: double to int problem...

    Please explain what "won't work" means? Show the program's output and explain what is wrong with it.
    If there are errors, please copy the full text of the messages and paste them here.
Results 1 to 8 of 8