unitRange

fun unitRange(value: Int): Ratio
fun unitRange(value: Long): Ratio
fun unitRange(value: Double): Ratio

Creates a Ratio instance from the given value in the unit range.