Skip to content
Subjects
Code examples
Library reference
Computer Programming
Python
Java
C++
C
Go
PHP
Kotlin
Ruby
R
Scala
Groovy
Rust
Dart
Mojo
Zig
Julia
Swift
C#
JavaScript
TypeScript
Tutorial menu
×
Subjects
Computer Programming
Maths
Planned
Chemistry
Planned
Lesson contents
Programming resources
All languages
Code examples
Library reference
Programming languages
Python
Java
C++
C
Go
PHP
Kotlin
Ruby
R
Scala
Groovy
Rust
Dart
🔥
Mojo
Zig
Julia
Swift
C#
JavaScript
TypeScript
Tutorials
/
Computer Programming
/
Library
/
Kotlin kotlin.math.sign
/
Other languages
kotlin.math.sign in other languages
Show the direction of a stock change
Groovy
Math.signum
Java
Math.signum
R
sign
Scala
math.signum