commonMain.neat.NumberFormatter.kt Maven / Gradle / Ivy
@file:JsExport
@file:Suppress("NON_EXPORTABLE_TYPE")
package neat
import kotlin.js.JsName
import kotlinx.JsExport
interface NumberFormatter {
val options: NumberFormatterRawOptions
@JsName("_ignore_formatNumber")
fun format(number: Number): String
@JsName("formatNumber")
fun format(number: Double): String
}