Converts the proportion between value and max to a float. This is, a value between 0 and
Arnau Mora
20210810