static void _DispFloatFix(float f, char Len, char Decs, int DrawPlusSign) { f *= GUI_Pow10[Decs]; f += 0.5; f = (float) floor (f); if (DrawPlusSign) GUI_DispSDecShift((long)f, Len, Decs); else GUI_DispDecShift((long)f, Len, Decs); }
/********************************************************************* * * GUI_DispDec */ void GUI_DispDec(I32 v, U8 Len) { GUI_DispDecShift(v, Len,0); }