upper

fun upper(from: Int, to: Int, val: Int): Int