[DGD]Floating Point Math

Erik Silo jinxpaw at hotmail.com
Mon Jul 10 23:09:15 CEST 2000


> >
> > I am tryin to do it this way:
> >
> >   result= (x / 100) * y
> >   then round the result to nearest int.
>
>result = (y * x) / 100;
>
>	Kris

worked perfecto! thanks alot:)
    Erik
________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com


List config page:  http://list.imaginary.com/mailman/listinfo/dgd



More information about the DGD mailing list