to#

Quantity.to(unit: str) Quantity#

Convert the actual number to new unit.

Examples

>>> from ansys.aedt.core.generic.numbers_utils import Quantity
>>> Quantity("10mm").to("cm")
1cm