Modify the second argument (which is assumed to be given in this object units) and convert it to the first argument, which is assumed to be an UnitSet object (or the name thereof). For futher details see convertToSI
convertToSet | string or UnitSet | Unit set to modify the value to |
value | variant | value to modify |
energyDim | integer | exponent of energy |
forceDim | integer | exponent of force |
lengthDim | integer | exponent of length |
massDim | integer | exponent of mass |
timeDim | integer | exponent of time |
temperatureDim | integer | exponent of temperature |
perLengthDim | optional integer | 0 (the default) for most quantities. 1 for quantities that are 'per unit length', such as "mm˛/m". Similarly 2 and 3 for quantities that are per unit area or volume. |
Return value | none |
Back to UnitSet
Back to Overview