"Fiodar Strizhniou" <fedor_qd at mail.ru> writes: > Ok. It can be easy implemented: > inline float round(float val){ > return floor(val + 0.5) > } Technically round() is supposed to take double and return double. The variant operating on float is roundf(). Probably doesn't matter in this case though... // Marcus