weight_conv: Convert from one unit of weight measurement to another

Description Usage Arguments Value Examples

Description

Convert from one unit of weight measurement to another

Usage

1
weight_conv(n, from, to)

Arguments

n

#quantity to change

from

# unit of quantity

to

#desired unit

Value

#returns desired quantity in the desired unit

Examples

1
2
3
weight_conv(500,"lb","kg") = 226.796
weight_conv(10,"kg","T") = 0.01102312
weight_conv(10,"g","mg") = 10000

aminondo/iX-Rpackage documentation built on May 20, 2019, 2:43 p.m.