In questa pagina

real QML Value Type

un numero con un punto decimale. Altro...

Descrizione dettagliata

Il tipo real si riferisce a un numero con virgola decimale, ad esempio 1,2 o -29,8.

Esempio:

Item { width: 100.45; height: 150.82 }

Nota: in QML tutti i numeri reali sono memorizzati in formato a virgola mobile IEEE a doppia precisione.

Questo tipo di valore è fornito dal linguaggio QML.

Vedi anche Tipi di valore QML.

© 2026 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.