Re: NEWBIE: Code, C question.

From: Ron Hensley (ron@peace.hippy.org)
Date: 05/12/96


Oops.. did i say 6 ?
> 15 / 25 you expect to be .60 but as its an integer its 0
> .60 * 100 would be 6
> but you get 0 * 100 is 0

would be 60 for 60% i mean :)

    *******************************************************************
    *   Ron Hensley                     ron@dmv.com                   *
    *   Junior Systems Administrator    http://www.dmv.com/~ron       *
    *   DelMarVa OnLine                 749-1111 Ext. 403             *
    *******************************************************************



This archive was generated by hypermail 2b30 : 12/18/00 PST