[Interest] QTextStream: output representation of floating point number with exactly n digits

Rui Maciel rui.maciel at gmail.com
Sat Oct 6 00:59:46 CEST 2012


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



More information about the Interest mailing list