absoluteValue

Returns the absolute value of this value.

Special cases:

  • NaN.absoluteValue is NaN

Since Kotlin

1.2

See also

function


Returns the absolute value of this value.

Special cases:

  • Int.MIN_VALUE.absoluteValue is Int.MIN_VALUE due to an overflow

Since Kotlin

1.2

See also

function


Returns the absolute value of this value.

Special cases:

  • Long.MIN_VALUE.absoluteValue is Long.MIN_VALUE due to an overflow

Since Kotlin

1.2

See also

function

Returns the absolute value of this value.

Special cases:

  • NaN.absoluteValue is NaN

Since Kotlin

1.2

See also

function


Returns the absolute value of this value.

Special cases:

  • Int.MIN_VALUE.absoluteValue is Int.MIN_VALUE due to an overflow

Since Kotlin

1.2

See also

function


Returns the absolute value of this value.

Special cases:

  • Long.MIN_VALUE.absoluteValue is Long.MIN_VALUE due to an overflow

Since Kotlin

1.2

See also

function

Returns the absolute value of this value.

Special cases:

  • NaN.absoluteValue is NaN

Since Kotlin

1.2

See also

function


Returns the absolute value of this value.

Special cases:

  • Int.MIN_VALUE.absoluteValue is Int.MIN_VALUE due to an overflow

Since Kotlin

1.2

See also

function


Returns the absolute value of this value.

Special cases:

  • Long.MIN_VALUE.absoluteValue is Long.MIN_VALUE due to an overflow

Since Kotlin

1.2

See also

function

Returns the absolute value of this value.

Special cases:

  • NaN.absoluteValue is NaN

Since Kotlin

1.3

See also

actual function


Returns the absolute value of this value.

Special cases:

  • NaN.absoluteValue is NaN

Since Kotlin

1.3

See also

function


Returns the absolute value of this value.

Special cases:

  • Int.MIN_VALUE.absoluteValue is Int.MIN_VALUE due to an overflow

Since Kotlin

1.3

See also

actual function


Returns the absolute value of this value.

Special cases:

  • Long.MIN_VALUE.absoluteValue is Long.MIN_VALUE due to an overflow

Since Kotlin

1.3

See also

function