UNPKG
@yetnt/ump
Version:
beta (6.0.0-beta)
dev (6.1.0-dev.1)
latest (6.0.0)
6.1.0-dev.1
6.1.0-dev.0
6.0.0
6.0.0-beta
5.2.0
5.1.0
5.0.0
4.2.0
4.1.2
4.1.1
4.1.0
4.0.0
3.2.1
3.2.0
3.1.0
3.0.0
2.1.6
2.1.5
2.1.4
2.1.3
2.1.2
2.1.1
2.1.0
2.0.0
1.1.2
1.1.1
1.1.0
1.0.2
1.0.1
1.0.0
A very useless math package for your complex javascript projects
github.com/Yetity/ump
Yetity/ump
@yetnt/ump
/
dist
/
functions
/
Convert
/
Volume.d.ts
9 lines
(8 loc)
•
254 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
/** * Converts between volume units * *
@param
n - The value to be converted *
@param
from - The current volume unit. *
@param
to - The volume unit to be converted to. */
export
declare
function
volume
(
n: number,
from
:
string
, to:
string
):
number
;