From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx> > "Adi Oanca" <e2joseph@xxxxxxxxxx> wrote: > > Oh well.. it does not matter any more... the code above work just > > fine, > > so I'll use it. > > But beware that that code doesn't round the value, but just cuts off > everything after the decimal point. That why I added 0.5f ! :-) So rounding is done. Adi.