Y
yym
Unregistered / Unconfirmed
GUEST, unregistred user!
文档说明
Lo-word ==> integer part
Hi-word ==> decimal part multiplied by 10000
C的转换语句,好象与上面不大一样,例值为:351928344 进行转换
nLow=nTemp &
0xffff;
nHigh=((nTemp &
0xffff0000) >> 16);
m_fVideo_Rate=(float)nLow + ((float)nHigh / (float)pow(10,strlen(g_IntToLpstr(nHigh))));
Lo-word ==> integer part
Hi-word ==> decimal part multiplied by 10000
C的转换语句,好象与上面不大一样,例值为:351928344 进行转换
nLow=nTemp &
0xffff;
nHigh=((nTemp &
0xffff0000) >> 16);
m_fVideo_Rate=(float)nLow + ((float)nHigh / (float)pow(10,strlen(g_IntToLpstr(nHigh))));