src/Marlin/print_restore_util.cpp
void ftostr31u(float x, char c[8]) {
    char conv[8] = { 0 };
    int xx=x*10;
    //conv[0]=(xx>=0)?'+':'-';
    xx=abs(xx);
    conv[0]=(xx/1000)%10+'0';
    conv[1]=(xx/100)%10+'0';
    conv[2]=(xx/10)%10+'0';
    conv[3]='.';
    conv[4]=(xx)%10+'0';
    conv[5]=0;
    strncpy(c, conv, 8);
  }
// Convert float to string with 123.4 format, unsigned
Convert float to string with 123.4 format, unsigned
Convert float to string with 123 . 4 format unsigned
void ftostr31u(float x, char c[8]) {
    char conv[8] = { 0 };
    int xx=x*10;
    xx=abs(xx);
    conv[0]=(xx/1000)%10+'0';
    conv[1]=(xx/100)%10+'0';
    conv[2]=(xx/10)%10+'0';
    conv[3]='.';
    conv[4]=(xx)%10+'0';
    conv[5]=0;
    strncpy(c, conv, 8);
  }
void ftostr31u ( float x , char c [ 8 ] ) { char conv [ 8 ] = { 0 } ; int xx = x * 10 ; xx = abs ( xx ) ; conv [ 0 ] = ( xx / 1000 ) % 10 + ' ' ; conv [ 1 ] = ( xx / 100 ) % 10 + ' ' ; conv [ 2 ] = ( xx / 10 ) % 10 + ' ' ; conv [ 3 ] = ' ' ; conv [ 4 ] = ( xx ) % 10 + ' ' ; conv [ 5 ] = 0 ; strncpy ( c , conv , 8 ) ; }
Convert float to string with 123.4 format, unsigned
Convert float to string with 123 . 4 format unsigned
//conv[0]=(xx>=0)?'+':'-';