measurement-toolkit"Mass/SI/Kilogram"Kilogram

Class: Kilogram

Hierarchy

SimpleBaseUnit

Kilogram

Implements

Index

Constructors

Properties

Accessors

Methods

Object literals

Constructors

constructor

+ new Kilogram(value: number): Kilogram

Inherited from SimpleUnit.constructor

Defined in SimpleUnit.ts:17

Parameters:

Name Type
value number

Returns: Kilogram

Properties

symbol

symbol: string = "kg"

Implementation of IUnitOfMass.symbol

Overrides SimpleUnit.symbol

Defined in Mass/SI/Kilogram.ts:36


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

Inherited from SimpleBaseUnit.getConverters

Overrides SimpleUnit.getConverters

Defined in SimpleBaseUnit.ts:16

Returns: object

▸ (): ISimpleUnit


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

Overrides SimpleBaseUnit.derivedUnits

Defined in Mass/SI/Kilogram.ts:38

Attogram

Attogram(): Attogram‹›

Defined in Mass/SI/Kilogram.ts:42

Returns: Attogram‹›

Centigram

Centigram(): Centigram‹›

Defined in Mass/SI/Kilogram.ts:48

Returns: Centigram‹›

Decagram

Decagram(): Decagram‹›

Defined in Mass/SI/Kilogram.ts:51

Returns: Decagram‹›

Decigram

Decigram(): Decigram‹›

Defined in Mass/SI/Kilogram.ts:49

Returns: Decigram‹›

Exagram

Exagram(): Exagram‹›

Defined in Mass/SI/Kilogram.ts:57

Returns: Exagram‹›

Femtogram

Femtogram(): Femtogram‹›

Defined in Mass/SI/Kilogram.ts:43

Returns: Femtogram‹›

Gigagram

Gigagram(): Gigagram‹›

Defined in Mass/SI/Kilogram.ts:54

Returns: Gigagram‹›

Gram

Gram(): Gram‹›

Defined in Mass/SI/Kilogram.ts:50

Returns: Gram‹›

Hectogram

Hectogram(): Hectogram‹›

Defined in Mass/SI/Kilogram.ts:52

Returns: Hectogram‹›

Megagram

Megagram(): Megagram‹›

Defined in Mass/SI/Kilogram.ts:53

Returns: Megagram‹›

Microgram

Microgram(): Microgram‹›

Defined in Mass/SI/Kilogram.ts:46

Returns: Microgram‹›

Milligram

Milligram(): Milligram‹›

Defined in Mass/SI/Kilogram.ts:47

Returns: Milligram‹›

Nanogram

Nanogram(): Nanogram‹›

Defined in Mass/SI/Kilogram.ts:45

Returns: Nanogram‹›

Petagram

Petagram(): Petagram‹›

Defined in Mass/SI/Kilogram.ts:56

Returns: Petagram‹›

Picogram

Picogram(): Picogram‹›

Defined in Mass/SI/Kilogram.ts:44

Returns: Picogram‹›

Teragram

Teragram(): Teragram‹›

Defined in Mass/SI/Kilogram.ts:55

Returns: Teragram‹›

TroyOunce

TroyOunce(): TroyOunce

Defined in Mass/SI/Kilogram.ts:60

Returns: TroyOunce

TroyPound

TroyPound(): TroyPound

Defined in Mass/SI/Kilogram.ts:61

Returns: TroyPound

Yoctogram

Yoctogram(): Yoctogram‹›

Defined in Mass/SI/Kilogram.ts:39

Returns: Yoctogram‹›

Yottagram

Yottagram(): Yottagram‹›

Defined in Mass/SI/Kilogram.ts:59

Returns: Yottagram‹›

Zeptogram

Zeptogram(): Zeptogram‹›

Defined in Mass/SI/Kilogram.ts:40

Returns: Zeptogram‹›

Zettagram

Zettagram(): Zettagram‹›

Defined in Mass/SI/Kilogram.ts:58

Returns: Zettagram‹›