Modeller.createMassUnit


createMassUnit(longName, shortName, factor)

Creates or modifies a unit of mass. The factor describes the number of the new units in 1 kilogram. For example, t = 1000

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

Back to Modeller

Back to Overview