Contents - Index


UNITSOF$

 

The UNITSOF$ function returns a string that is the units of the EES variable that is provided as a parameter to the function.  One use of this function is to provide help  to users (e.g., in the Diagram Window) to inform them of the units of a variable for which they are expect to provide a value.

 

Example:  

     X=5 [Btu/hr-ft^2-F]

     E$=UnitsOf$(X)   "Sets E$ to 'Btu/hr-ft^2-F''

 

Return to String Functions