/**
 * Function to calculate the fabric order for a fashion designer.
 *
 * @param length The length of the fabric in meters.
 * @param rangeAmount The number of ranges required for the design.
 * @return The amount of fabric needed to order.
 */
fun calculateFabricOrder(length: Double, rangeAmount: Int): Double {

    var fabricOrder = length

    // Divide the given length by rangeAmount and round down the result
    fabricOrder /= rangeAmount
    fabricOrder = fabricOrder.toInt().toDouble()

    return fabricOrder
}
/**
 * Function to calculate the fabric order for a fashion designer.
 *
 * @param length The length of the fabric in meters.
 * @param rangeAmount The number of ranges required for the design.
 * @return The amount of fabric needed to order.
 */
fun calculateFabricOrder(length: Double, rangeAmount: Int): Double {
/**
 * Function to calculate the fabric order for a fashion designer.
 *
 * @param length The length of the fabric in meters.
 * @param rangeAmount The number of ranges required for the design.
 * @return The amount of fabric needed to order.
 */
fun calculateFabricOrder(length: Double, rangeAmount: Int): Double {

    var fabricOrder = length

    // Divide the given length by rangeAmount and round down the result
    fabricOrder /= rangeAmount
    fabricOrder = fabricOrder.toInt().toDouble()

    return fabricOrder
}