KT-873 fixing wrong register calculations
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
fun box() : String {
|
||||
val fps : Double = 1.dbl
|
||||
var mspf : Long
|
||||
{
|
||||
if ((fps.int == 0))
|
||||
mspf = 0
|
||||
else
|
||||
mspf = (((1000.0 / fps)).lng)
|
||||
}
|
||||
return "OK"
|
||||
}
|
||||
Reference in New Issue
Block a user