Arguments: |
|
---|---|
Returns: | the numerical value of <code>quantity</code> in the system of units given by <code>targetUnits</code> |
Use to pass a value in this unit system to a module expecting a different system of units. Example:
>>> u.convert(42 * u.year, u.week)
2191.5