mega static method

Unit mega(
  1. Unit unit
)

Returns the specified unit multiplied by the factor 10<sup>6</sup>

Implementation

static Unit mega(Unit unit) => unit.transform(E6);