CS3 JS: UnitValue

CS3 JavaScript

UnitValue

QuickLinks

as, convert

Properties

PropertyTypeAccessDescription
baseUnitanyr/w
baseUnitUnitValuer/wThe base unit.
typestringreadonlyThe unit name.
valuenumberr/wThe numeric value.

Methods

UnitValue as (unitName:string)
Return this instance as a different unit.

ParameterTypeDescription
unitNamestringThe unit name.

any convert (unitName:string)
Convert this instance to a different unit.

ParameterTypeDescription
unitNamestringThe unit name.

Element of

UnitValue.baseUnit

Return

UnitValue UnitValue.as (unitName:string)

Contents :: Index