BigDecimal.ByteValueExact 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
將這個 BigDecimal 轉換成 byte。
[Android.Runtime.Register("byteValueExact", "()B", "GetByteValueExactHandler", ApiSince=24)]
public virtual sbyte ByteValueExact();
[<Android.Runtime.Register("byteValueExact", "()B", "GetByteValueExactHandler", ApiSince=24)>]
abstract member ByteValueExact : unit -> sbyte
override this.ByteValueExact : unit -> sbyte
傳回
一個 byte 等於 的值 this。
- 屬性
備註
將這個 BigDecimal 轉換成 byte。 如果 的 BigDecimal 十進位部分非零,或超出(8位元有符號整數)結果的範圍 byte ,則會拋出 a ArithmeticException 。
Java 文件 android.icu.math.BigDecimal.byteValueExact()。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。