ShopToolsUtilGetMeasurementString Method

Return the full measurement string corresponding to the caller's value and default unit.

Definition

Namespace: ShopTools
Assembly: ShopTools (in ShopTools.exe) Version: 25.2429.4649
C#
public static string GetMeasurementString(
	string value,
	string defaultUnit = ""
)

Parameters

value  String
The value, optionally including a specific measurement unit.
defaultUnit  String  (Optional)
The optional default measurement unit to apply, if no unit was provided. If this value is blank, the default base unit is used from the currently loaded configuration profile.

Return Value

String
The caller's measurement value and unit.

See Also