@ilihub/decimeter
v1.0.1
Published
TypeScript functions for converting decimeter to other length units.
Downloads
2
Maintainers
Readme
@ilihub/decimeter
TypeScript functions for converting decimeter to other length measurements.
Installation
# if you're using pnpm
pnpm add @ilihub/decimeter
# or, if you're using npm
npm install @ilihub/decimeter
# or, if you're using yarn
yarn add @ilihub/decimeter
Usage
import { Decimeter } from "@ilihub/decimeter";
const decimeter = new Decimeter(100);
const kilometer = decimeter.toKilometer();
console.log(kilometer);
const hectometer = decimeter.toHectometer();
console.log(hectometer);
const decameter = decimeter.toDecameter();
console.log(decameter);
const meter = decimeter.toMeter();
console.log(meter);
const centimeter = decimeter.toCentimeter();
console.log(centimeter);
const millimeter = decimeter.toMillimeter();
console.log(millimeter);
const mile = decimeter.toMile();
console.log(mile);
const yard = decimeter.toYard();
console.log(yard);
const foot = decimeter.toFoot();
console.log(foot);
const inch = decimeter.toInch();
console.log(inch);
Available Functions and Classes
- Decimeter
- Decimeter To Kilometer
- Decimeter To Hectometer
- Decimeter To Decameter
- Decimeter To Meter
- Decimeter To Centimeter
- Decimeter To Millimeter
- Decimeter To Mile
- Decimeter To Yard
- Decimeter To Foot
- Decimeter To Inch
Sponsors & Backers
Support the development of new open-source projects from ilihub through crowdfunding.
The core of ilihub is our crowd-funded open-source projects, licensed under the permissive MIT license. Sponsorship increases the rate of bug fixes, documentation improvements, and feature development.