On 2016-01-12 12:04, Graeme Geldenhuys wrote:
On 2016-01-12 10:45, Torsten Bonde Christiansen wrote:
Since TStream doesn't have any native WriteFloat/Double and the likes,
some conversion is needed - but what is a good strategy for this?
I use FloatStr() to do the conversion, then Write() to actually write it
to a stream.
Regards,
- Graeme -
In my case I am trying to write a datetime value, and in order not to
worry about the format, separators, etc. i would much rather just write
the actual floating point value...
Regards,
Torsten.
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal