commonMain.com.batoulapps.adhan2.internal.DoubleExtensions.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of adhan2 Show documentation
Show all versions of adhan2 Show documentation
A high precision Islamic prayer times library
package com.batoulapps.adhan2.internal
import kotlin.math.PI
fun Double.toRadians() = this * PI / 180
fun Double.toDegrees() = (this * 180) / PI
© 2015 - 2024 Weber Informatics LLC | Privacy Policy