How can we manage a 64 bits integer number to convert it to ASCCII value for LCD display. Does SPRINTF work with 'double' data type reguards.
I doubt that anyone would want to read a 20-digit number (which corresponds to 64 bits) from a display. What I would suggest is to convert such number to something shorter (say, 32 bits) and then to display it. This would be an approximation, but people do it all the time. Regards, Mike
The ISO 11784 norm for animal identification code Idf number on 38 bits so we need a data type greater than unsigned long. I ask for 64 bits because a 38 bits data type may not exist!
Sorry, I should have guessed it would be something like this. It's no easy task - to convert a 38-bit number into decimal. Octal and hexadecimal numbers suit much better because conversion routines for them are quite straightforward. I'm afraid in case of decimals one would have to re-invent integer arithmetics for 38-bit numbers. good luck mike