def get_amount_in_mg(weight, dose):
    """Calculates the amount of drug needed in mg for a given weight and dose.

    :params:
    weight - Float
    dose - Float

    :returns:
    Float - amount of drug needed in mg.

    Examples:
    >>> get_amount_in_mg(10.2, 13.75)
    140.25

    >>> get_amount_in_mg(5, 0.5)
    2.5

    """

    return weight * dose