MeasurementTokenCollectionReduce Method
Reduce the caller's token collection to a flat list of numbers and
calculable symbols.
Namespace: ShopToolsAssembly: ShopTools (in ShopTools.exe) Version: 25.2429.4649
private static MeasurementTokenCollection Reduce(
MeasurementTokenCollection tokens,
string defaultUnit
)
Private Shared Function Reduce (
tokens As MeasurementTokenCollection,
defaultUnit As String
) As MeasurementTokenCollection
No code example is currently available or this language may not be supported.
- tokens MeasurementTokenCollection
-
Reference to the collection of tokens to reduce.
- defaultUnit String
-
The default unit to assign if no unit is specified for a number.
MeasurementTokenCollection
Reference to a flat collection of decimal numbers, mathematical
operators, and parenthesis.