diff options
Diffstat (limited to 'src/corelib/doc')
-rw-r--r-- | src/corelib/doc/snippets/code/src_corelib_global_qglobal.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/doc/snippets/code/src_corelib_global_qglobal.cpp b/src/corelib/doc/snippets/code/src_corelib_global_qglobal.cpp index 5befebc982..d804514584 100644 --- a/src/corelib/doc/snippets/code/src_corelib_global_qglobal.cpp +++ b/src/corelib/doc/snippets/code/src_corelib_global_qglobal.cpp @@ -136,9 +136,9 @@ int roundedValueB = qRound(valueB); qreal valueA = 42949672960.3; qreal valueB = 42949672960.7; -int roundedValueA = qRound(valueA); +qint64 roundedValueA = qRound64(valueA); // roundedValueA = 42949672960 -int roundedValueB = qRound(valueB); +qint64 roundedValueB = qRound64(valueB); // roundedValueB = 42949672961 //! [12] |