kotlin-stdlib / kotlin.time / Duration / inHours inHours Common JVM JS Native 1.0 @ExperimentalTime val inHours: Double(source) Deprecated: Use inWholeHours property instead or convert toDouble(HOURS) if a double value is required. The value of this duration expressed as a Double number of hours.