formatToPercentInteger

fun Double?.formatToPercentInteger(locale: Locale = Locale()): String

Format the Double to percentage notation rounded to significant digits. PI.formatToPercentInteger() = "314.159%"