472,143 Members | 1,467 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,143 software developers and data experts.

Hex to decimal (Psion Workabout files)

Hi,

I must read/write Psion workabout files. (.ODB).
Ik can parse the file, but have some troubles with the floats/doubles.
I must convert floats from Hex to decimal and vice versa.

For example:
"00 00 00 00 00 00 f0 3f" = 1
"00 00 00 00 00 00 00 40" = 2
"00 00 00 00 00 00 08 40" = 3
"00 00 00 00 00 00 10 40" = 4
"00 00 00 00 00 00 11 40" = 4,25
"00 00 00 00 00 00 14 40" = 5
"00 00 00 00 00 00 19 40" = 6,25
etc.

How can I do this in C#?

Kind regards,
Karel Vandenhove
Nov 15 '05 #1
0 2543

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by John Bowman | last post: by
2 posts views Thread by KiP.Kolodziejczyk | last post: by
6 posts views Thread by Terry Reedy | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.