int tmp= ((long)Data - _MinIn) *((long)_MaxOut - _MinOut);tmp=(tmp+(((long)_MaxIn - _MinIn)> >2)/((long)_MaxIn - _MinIn);
E-mail: info@telesys.ru