dici così?

totint = totint + ((float)qt * pr);

non mi convince.