Hi, Could someone explain me this: double c = 1/255; and c is 0 after watching it in debugger. It should be 0,003921569. I tried float and few others but no success. The real thing where I need that division is qPow((i/255),(j/1)); // i<255 and j<8 What am I missing here? I'm using Ubuntu 10.10 and Qt 4.7 - Hannu