formatToExponent

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

Format the Double to exponent notation. PI.formatToSI() = "3.141593e+0"