Math.AbsExact 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
| 名称 | 说明 |
|---|---|
| AbsExact(Int32) |
返回的绝对值 |
| AbsExact(Int64) |
返回的绝对值 |
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