Created
September 11, 2023 19:57
-
-
Save zurche/daba451b2bf60df6a47afb9732eb9667 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private fun getValuePercentageForRange(value: Float, max: Float, min: Float) = | |
(value - min) / (max - min) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment