>I am in dire need of a function that will convert an integer to hex. FoxPro's TRANSFORM is great, however, it stops at 10 characters -- I need 15.
>
>Thanks in advance.
Not totally sure what you want here. The maximum size of an integer in VFP is 2GB - a 10 digit number, as you found out.
Are you talking about a 15-digit numeric? You need to be careful, since VFP only supports 15 sig figs of precision. You may get subtle errors with any calculations on numerics that large.
Are you looking for a VFP algorithm, or just *some* method to make a conversion? In another thread Rick Borup mentions Hex Workshop at
www.hexworkshop.com Also, the Windows Calculator in Scientific mode might be able to help you out.
Regards. Al
"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov
Neither a despot, nor a doormat, be
Every app wants to be a database app when it grows up