Compartir a través de


BigInteger.ShortValueExact Método

Definición

Convierte esto BigInteger en , shortcomprobando si hay información perdida.

[Android.Runtime.Register("shortValueExact", "()S", "GetShortValueExactHandler", ApiSince=31)]
public virtual short ShortValueExact ();
[<Android.Runtime.Register("shortValueExact", "()S", "GetShortValueExactHandler", ApiSince=31)>]
abstract member ShortValueExact : unit -> int16
override this.ShortValueExact : unit -> int16

Devoluciones

esto BigInteger se convierte en .short

Atributos

Comentarios

Convierte esto BigInteger en , shortcomprobando si hay información perdida. Si el valor de esto BigInteger está fuera del intervalo del short tipo, se produce una ArithmeticException excepción .

Agregado en la versión 1.8.

Documentación de Java para java.math.BigInteger.shortValueExact().

Las partes de esta página son modificaciones basadas en el trabajo creado y compartido por el proyecto de código abierto de Android y se usan según los términos descritos en la licencia de atribución de Creative Commons 2.5.

Se aplica a