Long.ToString Method

Definition

Overloads

ToString(Int64, Int32)

Returns a string representation of the first argument in the radix specified by the second argument.

ToString(Int64)

Returns a String object representing the specified long.

ToString(Int64, Int32)

Returns a string representation of the first argument in the radix specified by the second argument.

[Android.Runtime.Register("toString", "(JI)Ljava/lang/String;", "")]
public static string ToString (long i, int radix);
[<Android.Runtime.Register("toString", "(JI)Ljava/lang/String;", "")>]
static member ToString : int64 * int -> string

Parameters

i
Int64

a long to be converted to a string.

radix
Int32

the radix to use in the string representation.

Returns

a string representation of the argument in the specified radix.

Attributes

Remarks

Java documentation for java.lang.Long.toString(long, 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

ToString(Int64)

Returns a String object representing the specified long.

[Android.Runtime.Register("toString", "(J)Ljava/lang/String;", "")]
public static string ToString (long i);
[<Android.Runtime.Register("toString", "(J)Ljava/lang/String;", "")>]
static member ToString : int64 -> string

Parameters

i
Int64

a long to be converted.

Returns

a string representation of the argument in base&nbsp;10.

Attributes

Remarks

Java documentation for java.lang.Long.toString(long).

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