Quantity.valueType

The type of the underlying numeric value.

struct Quantity(N, Dim...)
alias valueType = N

Examples

import quantities.si : meter;
static assert(is(meter.valueType == double));

Meta