Contents

*(_:_:)

Multiply a measurement by a scalar value.

Declaration

static func * (lhs: Measurement<UnitType>, rhs: Double) -> Measurement<UnitType>

Parameters

  • lhs:

    A measurement to multiply.

  • rhs:

    A double-precision floating-point number to multiply.

Return Value

A measurement of value lhs.value * rhs with the same unit as lhs.

See Also

Operating on a Measurement