upper2

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