Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Hex to DEC in VFP 5.
Message
From
08/07/1998 11:36:59
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00114830
Message ID:
00115310
Views:
12
>>>How can I convert a long hex number to a long decimal number?
>>nDecNumber = eval("0x"+cHexNumber)
>>Cetin
>
>Actually, you should get the same results at a lower cost with the val() function.
Ooops ! How could I get dec value of ie: "FF" with val() ? Wouldn't it return just 0 ?
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform