All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.neat.NumberFormatter.kt Maven / Gradle / Ivy

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
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy