formatToInteger

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

Format the Double to a rounded integer. PI.formatToInteger() = "3"