473,503 Members | 1,669 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2650

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
3963
by: caveman | last post by:
Has anyone here had any experience programming for a Psion Workabout Scanner (EPOC). Here is my situation. I have been tasked to create a program that would download a file from a workabout MX...
4
8931
by: John Bowman | last post by:
Hi, A couple Q's , so I've come to the experts<g>. 1) I need a definitive answer to the following debate. I've got a couple developers who disagree on the following question. We've got an XML...
1
1535
by: Andres | last post by:
Hi every body, I am having a problem and I need your help, please I am using a XSD file; it has several nodes that have the following definition: <element name="guarantyPercent" type="decimal"...
3
9692
by: Kim Bundgaard | last post by:
Hi Any suggestion would be fine. I have installed DB2 Connect EE V8.1 (fixpak 4) at two different Windows 2000 Servers, both have the same regional settings. I am connecting to the same DB2...
0
1714
by: bunty.gopal | last post by:
I am trying to use the PreparedStatement's addBatch to load data in an ETL-like process into a table. There is a single prepared statement. The parameters are set on it and prepStmt.addBatch() is...
2
1748
by: karhens | last post by:
Hi I get a Workabout with scanner integrated, a datalogger and I use Psiwin to establish the communication between the workabout and the PC. I want to do those things: 1- Scan the Barcode...
0
1271
by: karhens | last post by:
Hi I'll use the workabout to scan barcodes of equipment I get in a warehouse, and I'll put informations about those equipments in the workabout like (date, quantity, description,...). After...
2
18394
by: KiP.Kolodziejczyk | last post by:
I 'd like to insert (via "bulk insert") between 10-20 files (about 300MB each) into one table. The problem is that in input files decimal point is written as "," and without leading zeros (i.e.:...
6
3674
by: Terry Reedy | last post by:
Gerhard Häring wrote: The new fractions module acts differently, which is to say, as most would want. True Traceback (most recent call last): File "<pyshell#20>", line 1, in <module> F(1.0)...
0
7199
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7273
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7451
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5572
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5000
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4667
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3161
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3150
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1501
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

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.