measurement-toolkit › "ISimpleUnit" › ISimpleUnit
Interface: ISimpleUnit
Hierarchy
↳ ISimpleUnit
Implemented by
- Attogram
- Attogram
- Attometer
- Attometer
- Attosecond
- Attosecond
- AvoirdupoisTon
- AvoirdupoisTon
- Centigram
- Centigram
- Centimeter
- Centimeter
- Centisecond
- Centisecond
- Day
- Day
- Decagram
- Decagram
- Decameter
- Decameter
- Decasecond
- Decasecond
- Decigram
- Decigram
- Decimeter
- Decimeter
- Decisecond
- Decisecond
- Dram
- Dram
- Exagram
- Exagram
- Exameter
- Exameter
- Exasecond
- Exasecond
- Femtogram
- Femtogram
- Femtometer
- Femtometer
- Femtosecond
- Femtosecond
- Foot
- Foot
- Gigagram
- Gigagram
- Gigameter
- Gigameter
- Gigasecond
- Gigasecond
- Grain
- Grain
- Gram
- Gram
- Hectogram
- Hectogram
- Hectometer
- Hectometer
- Hectosecond
- Hectosecond
- Hour
- Hour
- Hundredweight
- Hundredweight
- Inch
- Inch
- Kilogram
- Kilogram
- Kilometer
- Kilometer
- Kilosecond
- Kilosecond
- Megagram
- Megagram
- Megameter
- Megameter
- Megasecond
- Megasecond
- Meter
- Meter
- Microgram
- Microgram
- Micrometer
- Micrometer
- Microsecond
- Microsecond
- Mile
- Mile
- Milligram
- Milligram
- Millimeter
- Millimeter
- Millisecond
- Millisecond
- Minute
- Minute
- Nanogram
- Nanogram
- Nanometer
- Nanometer
- Nanosecond
- Nanosecond
- Ounce
- Ounce
- Petagram
- Petagram
- Petameter
- Petameter
- Petasecond
- Petasecond
- Picogram
- Picogram
- Picometer
- Picometer
- Picosecond
- Picosecond
- Pound
- Pound
- Quarter
- Quarter
- Second
- Second
- SiDerivedUnit
- SiDerivedUnit
- SiDerivedUnit
- SiDerivedUnit
- SiDerivedUnit
- SiDerivedUnit
- SimpleBaseUnit
- SimpleBaseUnit
- SimpleDerivedUnit
- SimpleDerivedUnit
- SimpleUnit
- Teragram
- Teragram
- Terameter
- Terameter
- Terasecond
- Terasecond
- TroyOunce
- TroyOunce
- TroyPound
- TroyPound
- UsDerivedUnit
- UsDerivedUnit
- UsDerivedUnit
- UsDerivedUnit
- Yard
- Yard
- Yoctogram
- Yoctogram
- Yoctometer
- Yoctometer
- Yoctosecond
- Yoctosecond
- Yottagram
- Yottagram
- Yottameter
- Yottameter
- Yottasecond
- Yottasecond
- Zeptogram
- Zeptogram
- Zeptometer
- Zeptometer
- Zeptosecond
- Zeptosecond
- Zettagram
- Zettagram
- Zettameter
- Zettameter
- Zettasecond
- Zettasecond
Index
Properties
Methods
Properties
symbol
• symbol: string
Defined in ISimpleUnit.ts:13
to
• to: object
Defined in ISimpleUnit.ts:14
Type declaration:
- [ key: string]: function
▸ (): ISimpleUnit
value
• value: number
Defined in ISimpleUnit.ts:12
Methods
add
▸ add(unit
: IUnit): this
Defined in IUnit.ts:12
Parameters:
Name | Type |
---|---|
unit |
IUnit |
Returns: this
divideBy
▸ divideBy(unit
: IUnit): this
Defined in IUnit.ts:14
Parameters:
Name | Type |
---|---|
unit |
IUnit |
Returns: this
getConverters
▸ getConverters(): object
Defined in ISimpleUnit.ts:15
Returns: object
- [ key: string]: function
▸ (): ISimpleUnit
multiply
▸ multiply(unit
: IUnit): this
Defined in IUnit.ts:16
Parameters:
Name | Type |
---|---|
unit |
IUnit |
Returns: this
percentageOf
▸ percentageOf(unit
: IUnit): this
Inherited from IUnit.percentageOf
Defined in IUnit.ts:18
Parameters:
Name | Type |
---|---|
unit |
IUnit |
Returns: this
subtract
▸ subtract(unit
: IUnit): this
Defined in IUnit.ts:20
Parameters:
Name | Type |
---|---|
unit |
IUnit |
Returns: this
toString
▸ toString(): string
Defined in IUnit.ts:22
Returns: string