MeasurementTokenCollectionCalculate Method

Return the calculated value of the measurement tokens, in system units (mm).

Definition

Namespace: ShopTools
Assembly: ShopTools (in ShopTools.exe) Version: 25.2429.4649
C#
public static float Calculate(
	MeasurementTokenCollection items,
	string defaultUnit
)

Parameters

items  MeasurementTokenCollection
Reference to the collection of items to be calculated.
defaultUnit  String
The default unit to apply if the number doesn't have an accompanying unit.

Return Value

Single
The calculated value of the provided measurement tokens, in system units.

See Also