Bill Symonds schrieb:
> Hi
>
> I need to make a numeric control in the range 0.1 and 0.9 with 0.1
> increments. I've used a single precision number, and have set up the data
> range, increments and decimal place setting as appropriate but at either
> extremity the control misbehaves and does not increment properly. I think
> I've must have missed something somewhere as I have this working fine for
> an integer control (range 1-10, increments of 1).
> Can anyone help please?
>
> Many thanks in advance
>
> Cheers
>
> Bill
>
> wsymonds@clara.co.uk
Only a hint:
don't forget, that with binary representation of floating point numbers it is
not possible to create exact 0.1, 0.2, etc... since all fractional bits are
also a (negative) power of 2. See the atached scre
enshot as a simple
example...
[Image]
Jens-Achim