Quantity#
- class ansys.aedt.core.generic.numbers.Quantity(expression, unit=None)#
Stores a number with its unit.
- Parameters:
Methods
Square root of the value.
Square root of the value.
Quantity.arctan2
(other)Return integer ratio.
Return self, the complex conjugate of any float.
Square root of the value.
Quantity.fromhex
(string, /)Create a floating-point number from a hexadecimal string.
Quantity.hex
(/)Return a hexadecimal representation of a floating-point number.
Return True if the float is an integer.
Square root of the value.
Square root of the value.
Square root of the value.
Quantity.to
(unit)Convert the actual number to new unit.
Attributes
the imaginary part of a complex number
the real part of a complex number
Value unit.
Value unit system.
Value number.