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