语言

Math.AbsExact 方法

定义

重载

名称 说明
AbsExact(Int32)

返回的绝对值 a。

AbsExact(Int64)

返回的绝对值 a。

AbsExact(Int32)

返回的绝对值 a。

[Android.Runtime.Register("absExact", "(I)I", "", ApiSince=34)]
public static int AbsExact(int a);
[<Android.Runtime.Register("absExact", "(I)I", "", ApiSince=34)>]
static member AbsExact : int -> int

参数

a
Int32

返回其绝对值的值。

返回

的绝对值 a。

特性

例外

如果为 .,则为aInt32.MinValue

注解

当为时,其绝对值不能表示为 />。

适用于

AbsExact(Int64)

返回的绝对值 a。

[Android.Runtime.Register("absExact", "(J)J", "", ApiSince=34)]
public static long AbsExact(long a);
[<Android.Runtime.Register("absExact", "(J)J", "", ApiSince=34)>]
static member AbsExact : int64 -> int64

参数

a
Int64

返回其绝对值的值。

返回

的绝对值 a。

特性

例外

如果为 .,则为aInt64.MinValue

注解

当是时,其绝对值不能表示为 />。

适用于