double QML Value Type

a number with a decimal point, stored in double precision. More...

Detailed Description

The double type refers to a number with a decimal point and is stored in double precision, IEEE floating point format. It's the same as real.

Properties of type double have 0.0 as their default value.

Example:

Item {
    property double number: 32155.2355
}

This value type is provided by the QML language.

See also QML Value Types.

© 2024 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.