convertToRange

open fun convertToRange(value: Int, minValue: Float, maxValue: Float, steps: Int): Float