/**
 * This function calculates the conversion rate given the total number of visitors and total number of conversions.
 *
 * @param totalVisitors The total number of visitors to the website.
 * @param totalConversions The total number of conversions on the website.
 * @return The conversion rate as a percentage.
 */
fun calculateConversionRate(totalVisitors: Int, totalConversions: Int): Float {

    val conversionRate = (totalConversions.toFloat() / totalVisitors.toFloat()) * 100
    return conversionRate
}
/**
 * This function calculates the conversion rate given the total number of visitors and total number of conversions.
 *
 * @param totalVisitors The total number of visitors to the website.
 * @param totalConversions The total number of conversions on the website.
 * @return The conversion rate as a percentage.
 */
fun calculateConversionRate(totalVisitors: Int, totalConversions: Int): Float {
/**
 * This function calculates the conversion rate given the total number of visitors and total number of conversions.
 *
 * @param totalVisitors The total number of visitors to the website.
 * @param totalConversions The total number of conversions on the website.
 * @return The conversion rate as a percentage.
 */
fun calculateConversionRate(totalVisitors: Int, totalConversions: Int): Float {

    val conversionRate = (totalConversions.toFloat() / totalVisitors.toFloat()) * 100
    return conversionRate
}