語言

HexFormat.FromHexDigit(Int32) 方法

定義

回傳十六進位字元或碼點的值。

[Android.Runtime.Register("fromHexDigit", "(I)I", "", ApiSince=34)]
public static int FromHexDigit(int ch);
[<Android.Runtime.Register("fromHexDigit", "(I)I", "", ApiSince=34)>]
static member FromHexDigit : int -> int

參數

ch
Int32

字元或碼點

傳回

價值 0-15

屬性

備註

回傳十六進位字元或碼點的值。 其數值為:<ul<>li>(ch - '0') 代表 '0' through '9' inclusive,li <>(ch - 'A' + 10) 代表 'A' through 'F' inclusive,li>(ch - 'a' + 10)<代表 'a' through 'f' inclusive。 </ul>

的 java.util.HexFormat.fromHexDigit(int)Java 檔。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於