This package implements unit conversion for time, length, and weight/mass.
This function converts between units of length. It can convert between the metric and imperial systems. The only units that are available for conversion are: "inch" "cm" "m" "km" "mm" "microm" "nm" "ft" "yd" "mile"
This function converts between mass/weight units. It can convert between the metric and imperial systems. For know the only units that are available for conversion are: "mg" "cg" "dg" "g" "dag" "hg" "kg" "oz" "lb" "T"
n = quantity to change,
from = unit of quantity to change,
to = desired unit to be converted to.
weight_conv(n, from, to)
weight_conv(10, "mg", "oz")
weight_conv(60, "kg", "g")
length_conv(23, "mile", "nm")
length_conv(14, "m", "ft")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.