Returns the numerical value of a measurement with its associated unitspan, after an optional unit conversion. A unitspan is a string consisting of a number followed by a valid unit of measurement.
A valid string containing a numeric value and a valid unit of measurement (unitspan). Recognized units of measurement are: s2 (optional) A string containing a valid unit of measurement. The function converts the unitspan specified in s1 to this new unit of measurement.If you do not include a value for s2, the function uses the unit of measurement specified in s1. If s2 is invalid, the function converts s1 into inches.The following expressions are examples of using the UnitValue function:
Returns the measurement value of the third occurrence of Size converted into millipoints.