ScientificFormatter

data class ScientificFormatter(precision: Int) : NumberFormatter

Implementation of NumberFormatter outputting scientific notation.

Not optimized, but guarantees consistent formatting between Kotlin runtimes.

Constructors

Link copied to clipboard
constructor(precision: Int)

Functions

Link copied to clipboard
open operator override fun invoke(value: Double): String
open operator override fun invoke(value: Float): String
open operator override fun invoke(value: Int): String
open operator override fun invoke(value: Long): String