[an error occurred while processing this directive]
|
char mysprintf (char *pBuf, char pointPos, char val){
BYTE Count=0;
while(val){
*(pBuf+Count)= val%10;
Count++;
if(Count==pointPos){
Count++;
*(pBuf+Count)= 0x2E;/*dot ASCII code*/
Count++;
}
val = val/10;
}
/*buffer reverse code piece must be added here*/
return Count;
}
E-mail: info@telesys.ru