def parse_scale_factor(value):
    """
    Attempts to parse a scale factor from the UI (int) into the decimal required by the mosaic classes
    """
    try:
        return float(value) / 100.0
    except:
        return 0.33