Search:

Type: Posts; User: llowe29

Search: Search took 0.11 seconds.

  1. Replies
    6
    Views
    1,225

    [SOLVED] Re: Problem Calculating emmisions

    I realized it worked but don't understand why the value would be null.

    --- Update ---

    Oh now I see it's because its already initialized in param, so when you reinitialize in the subcode itself...
  2. Replies
    6
    Views
    1,225

    [SOLVED] Re: Problem Calculating emmisions

    Wait why?
    Also should I do the same thing for Monthly Price.
  3. Replies
    6
    Views
    1,225

    [SOLVED] Problem Calculating emmisions

    I get NaN for all the values when I run the code. Not sure why? Here is the code.


    import java.util.ArrayList;
    class CO2FromElectricity

    {
    CO2FromElectricity()
    {
    //default...
Results 1 to 3 of 3