[fpc-pascal] Writing floating points to steams
mailinglists at geldenhuys.co.uk
Tue Jan 12 12:04:59 CET 2016
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.
- Graeme -
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
My public PGP key: http://tinyurl.com/graeme-pgp
More information about the fpc-pascal