This discussion is archived
2 Replies Latest reply: Dec 21, 2008 1:25 PM by 807589 RSS

Casting Problem

800419 Newbie
Currently Being Moderated
        name = nm;
        shots = s;
        goals = g;
        perMade = (double) (g/s);
        gamesPlayed = gp;
        saves = sa;
Every time i run this perMade comes back as 0.0...everytime...g and s are ints