measurement-toolkit › "IUnit" › IUnit
This file is part of Measurement Toolkit
(c) Bas Peeters bas@peete.rs
For the full copyright and license information, please view the LICENSE file that was distributed with this source code.
-
IUnit
- Attogram
- Attometer
- Attosecond
- AvoirdupoisTon
- Centigram
- Centimeter
- Centisecond
- Day
- Decagram
- Decameter
- Decasecond
- Decigram
- Decimeter
- Decisecond
- Dram
- Exagram
- Exameter
- Exasecond
- Femtogram
- Femtometer
- Femtosecond
- Foot
- Gigagram
- Gigameter
- Gigasecond
- Grain
- Gram
- Hectogram
- Hectometer
- Hectosecond
- Hour
- Hundredweight
- Inch
- Kilogram
- Kilometer
- Kilosecond
- Megagram
- Megameter
- Megasecond
- Meter
- Microgram
- Micrometer
- Microsecond
- Mile
- Milligram
- Millimeter
- Millisecond
- Minute
- Nanogram
- Nanometer
- Nanosecond
- Ounce
- Petagram
- Petameter
- Petasecond
- Picogram
- Picometer
- Picosecond
- Pound
- Quarter
- Second
- SiDerivedUnit
- SiDerivedUnit
- SiDerivedUnit
- SimpleBaseUnit
- SimpleDerivedUnit
- SimpleUnit
- Speed
- Teragram
- Terameter
- Terasecond
- TroyOunce
- TroyPound
- Unit
- UsDerivedUnit
- UsDerivedUnit
- Yard
- Yoctogram
- Yoctometer
- Yoctosecond
- Yottagram
- Yottameter
- Yottasecond
- Zeptogram
- Zeptometer
- Zeptosecond
- Zettagram
- Zettameter
- Zettasecond
• to: object
Defined in IUnit.ts:10
- [ key: string]: function
▸ (): IUnit
▸ add(unit
: IUnit): this
Defined in IUnit.ts:12
Parameters:
Name | Type |
---|---|
unit |
IUnit |
Returns: this
▸ divideBy(unit
: IUnit): this
Defined in IUnit.ts:14
Parameters:
Name | Type |
---|---|
unit |
IUnit |
Returns: this
▸ multiply(unit
: IUnit): this
Defined in IUnit.ts:16
Parameters:
Name | Type |
---|---|
unit |
IUnit |
Returns: this
▸ percentageOf(unit
: IUnit): this
Defined in IUnit.ts:18
Parameters:
Name | Type |
---|---|
unit |
IUnit |
Returns: this
▸ subtract(unit
: IUnit): this
Defined in IUnit.ts:20
Parameters:
Name | Type |
---|---|
unit |
IUnit |
Returns: this
▸ toString(): string
Defined in IUnit.ts:22
Returns: string