[fpc-pascal] Writing floating points to steams
Torsten Bonde Christiansen
tc at epidata.info
Tue Jan 12 11:45:02 CET 2016
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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the fpc-pascal