UnitSet.convertToUnitSet


convertToUnitSet(convertToSet, value, energyDim, forceDim, lengthDim, massDim, timeDim, temperatureDim, [perLengthDim])

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

convertToSetstring or UnitSet Unit set to modify the value to
valuevariant value to modify
energyDimintegerexponent of energy
forceDimintegerexponent of force
lengthDimintegerexponent of length
massDimintegerexponent of mass
timeDimintegerexponent of time
temperatureDimintegerexponent of temperature
perLengthDimoptional 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 valuenone 

Back to UnitSet

Back to Overview