decompose#

Variable.decompose() tuple#

Decompose the evaluated expression into a floating-point number and units.

Returns:
tuple

The float value of the variable and the units exposed as a string.