UNPKG
engineering-cal
Version:
latest (1.1.1)
1.1.1
1.1.0
1.0.1
1.0.0
A TypeScript library for common engineering calculations across various disciplines.
engineering-cal
/
units.d.ts
6 lines
(5 loc)
•
205 B
TypeScript
View Raw
1
2
3
4
5
6
/** * Convert a length value between units. * For now, only supports converting meters to feet and vice versa. */
export
declare
function
convertLength
(
value: number,
from
:
string
, to:
string
):
number
;