Doc: Fix qRound64 Example documentation

Change Example code for qRound64.
qRound to qRound64 and int to qint64.

Task-number: QTBUG-39932
Change-Id: I6b423013ed539eaec396c84945e7a885b198aec4
Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
bb10
YAMAMOTO Atsushi 2014-06-29 18:44:04 +09:00
parent f6f7fb2348
commit 07297c4eaa
1 changed files with 2 additions and 2 deletions

View File

@ -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]