Modeller.createTemperatureUnit


createTemperatureUnit(longName, shortName, factor, offset)

Creates or modifies a unit of length. The factor describes the number of the new units in 1 degree Celcius, and the offset describes the relative position of 0. For example, Farenheit = 9/5 +32

longNamestringLong name for unit
shortNamestringShort name for unit
factordoubleconversion factor (from SI).
offsetdoubleoffset (from 0C).
Return valueIFUnitthe returned object

Back to Modeller

Back to Overview