measurement-toolkit › "Length/IUnitOfLength" › IUnitOfLength
↳ IUnitOfLength
- Attometer
- Centimeter
- Decameter
- Decimeter
- Exameter
- Femtometer
- Foot
- Gigameter
- Hectometer
- Inch
- Kilometer
- Megameter
- Meter
- Micrometer
- Mile
- Millimeter
- Nanometer
- Petameter
- Picometer
- SiDerivedUnit
- Terameter
- UsDerivedUnit
- Yard
- Yoctometer
- Yottameter
- Zeptometer
- Zettameter
• symbol: string
Inherited from ISimpleUnit.symbol
Defined in ISimpleUnit.ts:13
• to: object
Overrides ISimpleUnit.to
Defined in Length/IUnitOfLength.ts:12
- [ key: string]: function
▸ (): IUnitOfLength
• value: number
Inherited from ISimpleUnit.value
Defined in ISimpleUnit.ts:12
▸ 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
▸ getConverters(): object
Overrides ISimpleUnit.getConverters
Defined in Length/IUnitOfLength.ts:13
Returns: object
- [ key: string]: function
▸ (): IUnitOfLength
▸ multiply(unit
: IUnit): this
Defined in IUnit.ts:16
Parameters:
Name | Type |
---|---|
unit |
IUnit |
Returns: this
▸ percentageOf(unit
: IUnit): this
Inherited from IUnit.percentageOf
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