operator * method

Q operator *(
  1. double scalar
)

Multiplies this quantity by a dimensionless scalar.

Implementation

Q operator *(double scalar) => create(value * scalar, unit);