measurement-toolkit"Mass/US/Troy/TroyPound"TroyPound

Class: TroyPound

Hierarchy

SimpleDerivedUnit

TroyPound

Implements

Index

Constructors

Properties

Accessors

Methods

Object literals

Constructors

constructor

+ new TroyPound(value: number): TroyPound

Inherited from SimpleUnit.constructor

Defined in SimpleUnit.ts:17

Parameters:

Name Type
value number

Returns: TroyPound

Properties

baseUnit

baseUnit: Grain = new Grain(this.value * 5760)

Implementation of IDerivedUnit.baseUnit

Overrides SimpleDerivedUnit.baseUnit

Defined in Mass/US/Troy/TroyPound.ts:18


symbol

symbol: string = "lb (t)"

Implementation of IUnitOfMass.symbol

Overrides SimpleUnit.symbol

Defined in Mass/US/Troy/TroyPound.ts:16


value

value: number

Implementation of IUnitOfMass.value

Inherited from SimpleUnit.value

Defined in SimpleUnit.ts:15

Accessors

to

get to(): any

Inherited from Unit.to

Defined in Unit.ts:14

Returns: any

Methods

add

add(unit: SimpleUnit): this

Inherited from SimpleUnit.add

Overrides Unit.add

Defined in SimpleUnit.ts:35

Parameters:

Name Type
unit SimpleUnit

Returns: this


divideBy

divideBy(unit: SimpleUnit): this

Inherited from SimpleUnit.divideBy

Overrides Unit.divideBy

Defined in SimpleUnit.ts:41

Parameters:

Name Type
unit SimpleUnit

Returns: this


dividedBy

dividedBy(unit: SimpleUnit): this

Inherited from SimpleUnit.dividedBy

Defined in SimpleUnit.ts:47

Parameters:

Name Type
unit SimpleUnit

Returns: this


getConverters

getConverters(): object

Implementation of IUnitOfMass

Overrides SimpleDerivedUnit.getConverters

Defined in Mass/US/Troy/TroyPound.ts:28

Returns: object


multiply

multiply(unit: SimpleUnit): this

Inherited from SimpleUnit.multiply

Overrides Unit.multiply

Defined in SimpleUnit.ts:53

Parameters:

Name Type
unit SimpleUnit

Returns: this


percentageOf

percentageOf(unit: SimpleUnit): this

Inherited from SimpleUnit.percentageOf

Overrides Unit.percentageOf

Defined in SimpleUnit.ts:59

Parameters:

Name Type
unit SimpleUnit

Returns: this


percentageOfThis

percentageOfThis(unit: SimpleUnit): this

Inherited from SimpleUnit.percentageOfThis

Defined in SimpleUnit.ts:65

Parameters:

Name Type
unit SimpleUnit

Returns: this


subtract

subtract(unit: SimpleUnit): this

Inherited from SimpleUnit.subtract

Overrides Unit.subtract

Defined in SimpleUnit.ts:29

Parameters:

Name Type
unit SimpleUnit

Returns: this


toString

toString(): string

Implementation of IUnitOfMass

Inherited from SimpleUnit.toString

Defined in SimpleUnit.ts:71

Returns: string

Object literals

derivedUnits

derivedUnits: object

Implementation of IBaseUnit.derivedUnits

Defined in Mass/US/Troy/TroyPound.ts:20

TroyOunce

TroyOunce(): TroyOunce

Defined in Mass/US/Troy/TroyPound.ts:21

Returns: TroyOunce