Megosztás a következőn keresztül:


Half.ToString(Int16) Method

Definition

Returns a string representation of the specified half-precision float value.

[Android.Runtime.Register("toString", "(S)Ljava/lang/String;", "", ApiSince=26)]
public static string ToString (short h);
[<Android.Runtime.Register("toString", "(S)Ljava/lang/String;", "", ApiSince=26)>]
static member ToString : int16 -> string

Parameters

h
Int16

A half-precision float value

Returns

A string representation of the specified value

Attributes

Remarks

Returns a string representation of the specified half-precision float value. Calling this method is equivalent to calling Float.toString(toFloat(h)). See Float#toString(float) for more information on the format of the string representation.

Java documentation for android.util.Half.toString(short).

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