Exemplo n.º 1
0
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);
}
Exemplo n.º 2
0
/*********************************************************************
*
*       GUI_DispDec
*/
void GUI_DispDec(I32 v, U8 Len) {
  GUI_DispDecShift(v, Len,0);
}