Convert from VBA double to NET double

  • Thread starter Thread starter Henke
  • Start date Start date
H

Henke

Hi I'm porting an old VBA-application to C#.
All data i stored in files and this files needs to be converted to NET data
types.
If I try to read a data file with a BinaryRead object and uses the
ReadDouble the value doesn't get correct converted.
How should this data be read from file to be able to convert them to the NET
datatypes?

Thanks!
/Henke
 
I found it out my self. The System.Double is also a IEEE 64, 8 bit floating
point type.

/Henke
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top