fraction

fun Bounds<out Number>.fraction(value: Double): Double

Calculate fraction for the given value and bounds.