conv_volume: Convert between liters, gallons, quarts, and pints.

Description Usage Arguments Details Value Examples

Description

Convert between liters, gallons, quarts, and pints.

Usage

1
conv_volume(num, from = "", to = "")

Arguments

num

the amount of the unit you want to onvert.

from

the original unit.

to

the unit you want to convert to

Details

num: a positive number

from: the original unit. To enter liters type "l" or "liter". To enter gallons type "gal" or "gallon". To enter quarts type "qt" or "quart". To enter pints type "pt" or "pint"

to: the unit you want to convert to. To enter liters type "l" or "liter". To enter gallons type "gal" or "gallon". To enter quarts type "qt" or "quart". To enter pints type "pt" or "pint"

Value

data frame of converted value and unit.

Examples

1
2
conv_volume(4, "l", "gal")
conv_volume(25, "pint", "qt")

alexnakagawa/conversionr documentation built on May 20, 2019, 2:43 p.m.