commonMain.neat.NumberFormatter.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of neat-formatting-jvm Show documentation
Show all versions of neat-formatting-jvm Show documentation
A platform agnostic way of formatting data
The newest version!
@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
}