toInt

Converts the ValueMax to a Int-based one, using the ValueMax.percentage function.

Author

Arnau Mora

Since

20210928

Return

A new instance of ValueMax that uses the percentage as value and 100 as the max.