def ppm_to_dalton(mass:float, prec_tol:int)->float:
    """Function to convert ppm tolerances to Dalton.

    Args:
        mass (float): Base mass.
        prec_tol (int): Tolerance.

    Returns:
        float: Tolerance in Dalton.
    """
    return mass / 1e6 * prec_tol