Search:

Type: Posts; User: nepperso

Search: Search took 0.10 seconds.

  1. Replies
    9
    Views
    1,314

    Re: remainder issue

    I am using IDE

    --- Update ---

    yay! it works! good to know that issue can happen. was driving me NUTS!!!
    I was like this should work wth!
  2. Replies
    9
    Views
    1,314

    Re: remainder issue

    public static void main(String [] args)
    {
    int a = 32;
    int b = 10;
    double c = (a/(double)b);

    //The issue is the order of operations somehow, it is...
  3. Replies
    9
    Views
    1,314

    Re: remainder issue

    I did not try that particular way, I tried c = a / ((double)/b);
    Let me try that...
    Nope! wtf??? why is it not working??
  4. Replies
    9
    Views
    1,314

    Re: remainder issue

    when dealing with decimals that data types that I can think that would work would be double, float, and maybe long but this division isn't really a long string.
    I tried re-writing as float and also...
  5. Replies
    9
    Views
    1,314

    remainder issue

    I'm currently taking a class in learning java.

    Anyways, I am doing a code that was provided and has an error.
    We are suppose to review and figure out why it's giving the error and how to fix...
Results 1 to 5 of 5