clamp

fun clamp(min: Double, n: Double, max: Double): Double(source)