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
parent
f6f7fb2348
commit
07297c4eaa
|
|
@ -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]
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue