Stephen <mca### [at] aolcom> wrote:
> On 16/03/2014 3:30 PM, FNH wrote:
> > I've just used #write to write a variable with the value 11.23302 to a file, but
> > when I open the resulting file it contains only 11.233 .
> >
> > Any ideas why that is?
> >
> >
> Did you define the BINARY_WORD_TYPE?
That will only write the integral part of the value as raw binary bytes.
It has nothing to do with the accuracy of the ascii representation of
floating point values.
--
- Warp
Post a reply to this message
|