Converts a Metric Measure into a US Standard Measure.
Arguments:
metricmeasure > Metric measure to convert into a US Standard measurement (This must be a number only)
conversion > Table below for values:
cm-in > centimeters to inches
cm-ft > centimeters to feet
m-in > meters to inches
m-yd > meters to yards
km-mi > kilometers to miles
g-oz > ounces to grams
g-lbs > grams to pounds
kg-oz > kilograms to ounces
kg-lbs > kilograms to pounds
l-pt > liters to pint
l-qt > liters to quarts
l-gal > liters to gallons
extensiontype > integer that specifies the type of extension to append to the converted value:
0 > no extension (answer will be a number only)
1 > append the standard abbreviation (lbs for pounds, in for inches, etc...)
2 > append the word (pounds, inches, etc...)
Access is limited.
Login here using your Linkedin account. to see or download code.
No registration, not another password to remember, login using your Linkedin account and have access to all public codes in Mydev.net
Linkedin LoginViews 5,508
Downloads 1,503
ANmarAmdeen
702