core
/
com.unciv.ui.utils
/
toPercent
to
Percent
fun
String
.
toPercent
():
Float
Content copied to clipboard
fun
Int
.
toPercent
():
Float
Content copied to clipboard
fun
Float
.
toPercent
():
Float
Content copied to clipboard
Translate a percentage number - e.g. 25 - to the multiplication value - e.g. 1.25f