Files
kotlin-fork/compiler/testData/codegen/box/functions/kt873.kt
T
2018-06-09 19:15:38 +03:00

13 lines
216 B
Kotlin
Vendored

// IGNORE_BACKEND: JS_IR
fun box() : String {
val fps : Double = 1.toDouble()
var mspf : Long
{
if ((fps.toInt() == 0))
mspf = 0
else
mspf = (((1000.0 / fps)).toLong())
}
return "OK"
}