Spec-Zone.ru › Kotlin 2

times

kotlin-stdlib/kotlin/Double/times

Требования к платформе и версии: Common (1.0), JS (1.1), JVM (1.0)

expect operator fun times(other: Byte): Double
expect operator fun times(other: Short): Double
expect operator fun times(other: Int): Double
expect operator fun times(other: Long): Double
expect operator fun times(other: Float): Double
expect operator fun times(other: Double): Double

Умножает это значение на другое значение.

Требования к платформе и версии: Native (1.3)

actual inline operator fun times(other: Byte): Double
actual inline operator fun times(other: Short): Double
actual inline operator fun times(other: Int): Double
actual inline operator fun times(other: Long): Double
actual inline operator fun times(other: Float): Double
actual operator external fun times(other: Double): Double

Умножает это значение на другое значение.

Требования к платформе и версии: Wasm-JS (1.8), Wasm-WASI (1.8)

actual inline operator fun times(other: Byte): Double
actual inline operator fun times(other: Short): Double
actual inline operator fun times(other: Int): Double
actual inline operator fun times(other: Long): Double
actual inline operator fun times(other: Float): Double
actual operator fun times(other: Double): Double

Умножает это значение на другое значение.

© 2010–2026 JetBrains s.r.o. and Kotlin Programming Language contributors
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/times.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API