Hi all.

What is the best/preferred way to write floatingpoint to a steam?

Since TStream doesn't have any native WriteFloat/Double and the likes, some conversion is needed - but what is a good strategy for this?

A simple conversion like Stream.WriteDWord( DWord(<some float variable>)) is not possible due to illegal type conversion.

Any help appriciated.

Regards,
Torsten.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to