ValueMax

fun <T : Number> ValueMax(value: T, max: T)

Parameters

value

The current value

max

The maximum value