How to make 1.123456 , 1.123?
C++ Gurus
16
Posts
9
Posters
6.4k
Views
1
Watching
-
[quote author="mlong" date="1348759875"]Why not just use
@
QString::number(value,'f',5);
@
to force 5 decimal places?
[/quote]i said 3 decimal places.. so 5->3 will do exactly what i want.. thank you a lot! i really need to read my C++ book but i don't have time cause of my studies.. next year :)
-
Leon: So you plan to nag us here for one more year because you have no time to learn something due to studies? I am not sure that is what is intended with this whole university-thing:-)