Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Ho do I convert decimal to hex with a twist?
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00123780
Message ID:
00123790
Views:
21
Roxanne,

Just ? transform( INT( x ), "@0" )

>I am looking to find a way to convert decimal to hexadecial for fractional numbers. For example:
>
>? transform(10, "@0") &&result is 0x0000000A
>? transform(10.3213213, "@0") &&result is still 0x0000000A
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform