Closed simonas-dev closed 1 year ago
private val Int.Hz: Long get() = 1 / this * 1000L
This will always result to 0, because 1 / this is being casted into an Int.
0
1 / this
This will always result to
0
, because1 / this
is being casted into an Int.