USStandardToMetric

Converts US Standard Measure into a Metric Measure.
Arguments:
Standardmeasure > The US Standard measure to convert (This must be a number only)
Conversion > Use table below for values:
    in-cm    = inches to centimeters
    ft-cm    = feet to centimeters
    in-m        = inches to meters
    yd-m    = yards to meters
    mi-km    = miles to kilometers
    oz-g        = ounces to grams
    lbs-g    = pounds to grams
    oz-kg    = ounces to kilogram
    lbs-kg    = pounds to kilograms
    pt-l        = pints to liters
    qt-l        = quarts to liters
    gal-l        = gallons to liters
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 (g for grams, kg for kilograms, etc...)
    2 = append the full unit word (grams, kilograms, etc...)

CodeFunctionName What is this?

Public

Tested

Imported

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 Bold.codes

Linkedin Login

Parameters

standardmeasure, conversion, extensiontype.

Permanenet link

Statistics

Views 5,500

Downloads 1,512

IDs

CodeID
DB ID

Requirements

Codes Required 0

Similar Codes

Similar codes

By Developer

Recent 4 by ANmarAmdeen 4

Random Codes

Random Codes 4