def rgbfloat2rgbint(i):
    """
    Convert a rgb float value (0.0-1.0) to a rgb integer value (0-255).

    Args:
        i (int): Float value from 0.0 to 1.0

    Returns:
        int: Integer values from 0 to 255
    """
    return int(255 * i)