W3cubDocs

/Kotlin

unaryMinus

operator fun unaryMinus(): Double

Returns the negative of this value.

© 2010–2018 JetBrains s.r.o.
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/unary-minus.html