a number with a decimal point. 更多...
The
real
type refers to a number with decimal point, e.g. 1.2 or -29.8.
范例:
Item { width: 100.45; height: 150.82 }
注意: In QML all reals are stored in double precision, IEEE floating point 格式。
This value type is provided by the QML language.
另请参阅 QML Value Types .