pocm@rnl.ist.utl.pt (Paulo J. Matos) writes:
> After some testing i found out that temp1.espl / temp2.iluminados
> gives us always the floor of the real value.
If these are integers, try casting them to floats before dividing.
Integer division is generally understood to yield the floor().
regards, tom lane