Convert a number to a string with units. If value is a string, it’s returned as is.
- Parameters:
- value
float
, int
, str
Input number or string.
- units
optional
Units for formatting. The default is None
which uses modeler units.
- Returns:
str
String concatenating the value and unit.