calculate_percentage# calculate_percentage(number1, number2, default_value=None)[source]# Get percentage of number1 to number2, return default_value if division by zero Parameters: number1 (float) – number2 (float) – Return type: Optional[float]