Write double to text file, then read it back later without losing precision

Andrew Brown via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon May 19 08:51:35 PDT 2014


I would like to write a double to a text file as hexadecimal and 
then read it back in without losing information. Could someone 
tell me whether this is possible? It would happen in the same 
program, would I have to worry about different architectures?

Thanks very much

Andrew


More information about the Digitalmars-d-learn mailing list