/**
 * This function checks if a given floating-point number has a significant decimal part.
 *
 * @param number The floating-point number to be checked.
 * @param decimalThreshold The minimum absolute value of the decimal part to be considered significant.
 * @return True if the number has a significant decimal part, False otherwise.
 */
fun hasSignificantDecimalPart(number: Double, decimalThreshold: Double): Boolean {

    val decimalPart = Math.abs(number) - Math.abs(number.toInt())
    return decimalPart >= decimalThreshold
}
/**
 * This function checks if a given floating-point number has a significant decimal part.
 *
 * @param number The floating-point number to be checked.
 * @param decimalThreshold The minimum absolute value of the decimal part to be considered significant.
 * @return True if the number has a significant decimal part, False otherwise.
 */
fun hasSignificantDecimalPart(number: Double, decimalThreshold: Double): Boolean {
/**
 * This function checks if a given floating-point number has a significant decimal part.
 *
 * @param number The floating-point number to be checked.
 * @param decimalThreshold The minimum absolute value of the decimal part to be considered significant.
 * @return True if the number has a significant decimal part, False otherwise.
 */
fun hasSignificantDecimalPart(number: Double, decimalThreshold: Double): Boolean {

    val decimalPart = Math.abs(number) - Math.abs(number.toInt())
    return decimalPart >= decimalThreshold
}