469,596 Members | 2,269 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,596 developers. It's quick & easy.

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 2449

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 this site, you agree to our Privacy Policy and Terms of Use.