UnitID
Syntax
UnitID(Name)
Summary
Returns the unique ID associated with the specified named unit. This function can be useful when you need to pass information about LEAP data to an external script or DLL. Names are not case sensitive. You can specify either the unit name or its abbreviation. Units can be edited in the General: Units screen.
Example
UnitID(Gigajoule) or UnitID(GJ) = 7