16進制的BCD碼轉字符串

String __fastcall BCDtoDecStr(BYTE temp) ast

{ call

    String outemp=IntToStr(( temp/16 )*10+temp%16);
    if(temp/16==0)  //add by cy
    {
        outemp = "0"+outemp;
    }
    return (outemp);return

相關文章
相關標籤/搜索