- qunits. Quantity.to ( unit )[source]
Convert the quantity into a
Quantityin the targetUnit(system).- Parameters:
-
- unitUnit | str
The target unit as a
Unitinstance (e.g.,u.m), or the name of the target unit system (e.g.,"si"). Available unit systems:{"si"}.
- Returns:
-
- quantityQuantity
The quantity converted into the target
Unit(system).