setRealNumberNotation ( QTextStream::ScientificNotation )
with  setRealNumberPrecision() to specify number of digits?

Alex

On Fri, Oct 5, 2012 at 3:59 PM, Rui Maciel <rui.mac...@gmail.com> wrote:
> Is it possible to manipulate QTextStream so that it outputs a
> representation of a float or a double with exactly n digits?  I've tried
> setRealNumberPrecision() but it doesn't appear to have any effect.
>
>
> Thanks in advance,
> Rui Maciel
> _______________________________________________
> Interest mailing list
> Interest@qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to