QVariant.opCast

Cast a dimensionless quantity to a numeric type.

The cast operation will throw DimensionException if the quantity is not dimensionless.

struct QVariant(N)
const
T
opCast
(
T
)
()
if (
isNumeric!T
)

Meta