healthsciencecalculator.unit_convert ==================================== .. py:module:: healthsciencecalculator.unit_convert Functions --------- .. autoapisummary:: healthsciencecalculator.unit_convert.unit_convert Module Contents --------------- .. py:function:: unit_convert(value: float, input_unit: str, output_unit: str) Converts values from one unit to another. Supported measurement units: - Weight: kg, g, lb, stone - Length: m, cm, feet, inch - Temperature: C, F - Concentration: mg/dL, mmol/L - Volume: L, mL :param value: The numeric value to be converted. :type value: float :param input_unit: The unit of input value. :type input_unit: str :param output_unit: The desired unit of output value. :type output_unit: str :returns: The output value in desired unit. :rtype: float .. rubric:: Examples >>> unit_convert(1, "m", "cm") 100