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

commonMain.krono.utils.Century.kt Maven / Gradle / Ivy

There is a newer version: 3.0.14
Show newest version
@file:JsExport

package krono.utils

import kotlinx.JsExport
import kotlin.js.JsName
import kotlin.math.floor

@JsName("centuryOf")
fun Century(year: Int): Int = floor(year.toDouble() / 100).toInt()




© 2015 - 2024 Weber Informatics LLC | Privacy Policy