/**
 * Calculate the absolute difference between two numbers.
 *
 * @param num1 The first number.
 * @param num2 The second number.
 * @return The absolute difference between num1 and num2.
 */
fun absoluteDifference(num1: Number, num2: Number): Number {

    return kotlin.math.abs(num1.toDouble() - num2.toDouble())
}
/**
 * Calculate the absolute difference between two numbers.
 *
 * @param num1 The first number.
 * @param num2 The second number.
 * @return The absolute difference between num1 and num2.
 */
fun absoluteDifference(num1: Number, num2: Number): Number {
/**
 * Calculate the absolute difference between two numbers.
 *
 * @param num1 The first number.
 * @param num2 The second number.
 * @return The absolute difference between num1 and num2.
 */
fun absoluteDifference(num1: Number, num2: Number): Number {

    return kotlin.math.abs(num1.toDouble() - num2.toDouble())
}