Jump to content

Horizontal sundial calculations: Difference between revisions

→‎{{header|Kotlin}}: Updated example see https://github.com/dkandalov/rosettacode-kotlin for details
(→‎{{header|Kotlin}}: Updated example see https://github.com/dkandalov/rosettacode-kotlin for details)
Line 1,211:
 
=={{header|Kotlin}}==
<lang scala>import java.lang.Math.*atan2
import java.lang.Math.cos
import java.lang.Math.sin
import java.lang.Math.toDegrees
import java.lang.Math.toRadians
 
// version 1.1.24
 
fun main(args: Array<String>) {
Cookies help us deliver our services. By using our services, you agree to our use of cookies.