Udostępnij za pośrednictwem


Number.IntValue Method

Definition

Returns the value of the specified number as an int.

[Android.Runtime.Register("intValue", "()I", "GetIntValueHandler")]
public abstract int IntValue ();
[<Android.Runtime.Register("intValue", "()I", "GetIntValueHandler")>]
abstract member IntValue : unit -> int

Returns

the numeric value represented by this object after conversion to type int.

Attributes

Remarks

Returns the value of the specified number as an int.

Java documentation for java.lang.Number.intValue().

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