Integer.ToHexString(Int32) Method

Definition

Returns a string representation of the integer argument as an unsigned integer in base 16.

[Android.Runtime.Register("toHexString", "(I)Ljava/lang/String;", "")]
public static string ToHexString (int i);
[<Android.Runtime.Register("toHexString", "(I)Ljava/lang/String;", "")>]
static member ToHexString : int -> string

Parameters

i
Int32

an integer to be converted to a string.

Returns

String

the string representation of the unsigned integer value represented by the argument in hexadecimal (base&nbsp;16).

Attributes

Remarks

Java documentation for java.lang.Integer.toHexString(int).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to